protected function createAndSaveObject() { $object = $this->createNewObject(); $this->setObject($object); $this->saveObject($object); }