Nelmio\Alice\Generator\Instantiator\Chainable\NoCallerMethodCallInstantiatorTest::testThrowsAnExceptionIfCouldNotInstantiateObject PHP Method

testThrowsAnExceptionIfCouldNotInstantiateObject() public method

    public function testThrowsAnExceptionIfCouldNotInstantiateObject()
    {
        $fixture = new SimpleFixture('dummy', AbstractDummyWithRequiredParameterInConstructor::class, SpecificationBagFactory::create(new SimpleMethodCall('fake', [10])));
        $this->instantiator->instantiate($fixture, ResolvedFixtureSetFactory::create(), new GenerationContext());
    }