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