function it_should_proxy_the_priority_call_to_the_decorated_object($generator) { $generator->getPriority()->willReturn(5); $this->getPriority()->shouldReturn(5); }