public it_should_proxy_the_support_call_to_the_decorated_object ( $generator, PhpSpec\Locator\Resource $resource ) | ||
$resource | PhpSpec\Locator\Resource |
function it_should_proxy_the_support_call_to_the_decorated_object($generator, Resource $resource)
{
$generator->supports($resource, 'foo', array('bar'))->willReturn(true);
$this->supports($resource, 'foo', array('bar'))->shouldReturn(true);
}