示例#1
0
 function it_can_save_propel_objects(\Persistent $object, $connection)
 {
     $object->save($connection)->shouldBeCalled();
     $this->persist($object);
 }
示例#2
0
 /**
  * @param \Persistent $object
  * @return mixed|void
  */
 public function persist(\Persistent $object)
 {
     $object->save($this->connection);
 }