public function doesNotCallTheConstructorOfTheEntity() { $ss = $this->factory->defineEntity('SpaceShip', array())->get('SpaceShip'); $this->assertFalse($ss->constructorWasCalled()); }