public testTestCreateForCouldNotGetConstructorData ( ) |
public function testTestCreateForCouldNotGetConstructorData()
{
$exception = InstantiationExceptionFactory::createForCouldNotGetConstructorData(new DummyFixture('foo'));
$this->assertEquals('Could not get the necessary data on the constructor to instantiate "foo".', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}