Наследование: extends AbstractChainableInstantiator
 /**
  * @expectedException \Nelmio\Alice\Throwable\Exception\Generator\Instantiator\InstantiationException
  * @expectedExceptionMessage Could not instantiate "dummy", the constructor of "Nelmio\Alice\Entity\Instantiator\DummyWithProtectedConstructor" is not public.
  */
 public function testThrowsAnExceptionIfObjectConstructorIsProtected()
 {
     $fixture = new SimpleFixture('dummy', DummyWithProtectedConstructor::class, SpecificationBagFactory::create());
     $this->instantiator->instantiate($fixture, ResolvedFixtureSetFactory::create(), new GenerationContext());
 }