protected function setUp() { parent::setUp(); $this->annotatedTestDao = AnnotatedTestDao::getInstance($this->daoFactory); $this->childTestDao = ChildTestDao::getInstance($this->daoFactory); $this->daoFactory->createTables(); $this->entity = new AnnotatedTest(); $this->entity->setString("some-string-value"); }