canInstantiate() публичный Метод

public canInstantiate ( Nelmio\Alice\FixtureInterface $fixture ) : boolean
$fixture Nelmio\Alice\FixtureInterface
Результат boolean
 public function testCanInstantiateFixtureWithIfConstructorIsAStaticFactory()
 {
     $fixture = new SimpleFixture('dummy', 'Dummy', SpecificationBagFactory::create(new MethodCallWithReference(new StaticReference('static_reference'), 'fake')));
     $this->assertTrue($this->instantiator->canInstantiate($fixture));
 }