function it_should_execute_string_function_callback(ObjectProphecy $object, MethodProphecy $method) { $firstArgumentCallback = 'spec\\Prophecy\\Promise\\functionCallbackFirstArgument'; $this->beConstructedWith($firstArgumentCallback); $this->execute(array('one', 'two'), $object, $method)->shouldReturn('one'); }