public function returnsListOfEntities() { $this->factory->defineEntity('SpaceShip'); $this->assertCount(1, $this->factory->getList('SpaceShip')); }