spec\PhpSpec\CodeGenerator\GeneratorManagerSpec::it_throws_exception_if_no_generator_found PHP Method

it_throws_exception_if_no_generator_found() public method

public it_throws_exception_if_no_generator_found ( PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource
    function it_throws_exception_if_no_generator_found(Resource $resource)
    {
        $this->shouldThrow()->duringGenerate($resource, 'class', array('class' => 'CustomLoader'));
    }