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'));
}