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