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