createCallableMock(); $mock ->expects($this->once()) ->method('__invoke'); return $mock; } protected function expectCallableNever() { $mock = $this->createCallableMock(); $mock ->expects($this->never()) ->method('__invoke'); return $mock; } protected function createCallableMock() { return $this->getMockBuilder('CallableStub')->getMock(); } protected function createResolverMock() { return $this->getMockBuilder('React\Dns\Resolver\Resolver') ->disableOriginalConstructor() ->getMock(); } } class CallableStub { public function __invoke() { } } __halt_compiler();----SIGNATURE:----G3zNMcCNNteA6PewwObuWi5ln6tuFfNtfAcyNKkfNttNHSpg4801x4iEBI/U7PePCZybjDE3OiLCzzwQsoLpvfL2aWnlBOk7489jabAL3sV9AKrrmpqLy4s6xVfVuY5BYA4gNsiSgBmf70TFdMfmScKteNTJwXzjJSMkOnkLvTLI2/GL7mT8EggTdATAREVECgeev9ds28C+m/PNwrRyGg+G3JveMI+ca7M5S+6jyZWp7xeVAEvkcuCIINNemGZrQaBF1fqEyV4V3QB74iMrEmvUXILnuGVM+YYm/lmi5RiqgcLjq5ztvH2kr5vSN+9YKnbC/J0fOvj/ddjPscM3H/VNrd30UBOoC7lrLdrFr/6MQCZKJf4wJIDhqAd8ceFus7pK37lxH4HugvX+Z9ecMj3wsG7w6qD1VlcCo+peQpA/qXakyF+dstti7Mpy/w0vUnfwB0FT6IVTGsm43YB/I40H6OqV/iXMLQW2RjmRMIVxXpdOUzwqEHFvo9gSO1ba7LpWugWpLCndTLk+ZxXwF6iAsoHdwYcYNmLR3AlZf5t41oIULgPeHE94SFWP8J8ELgv7gkTwDUyIHMR6rT7ViYYhvvX/zQEawtrtdUkgpHvS6BJH3mimu+1UPtshn/31op0Nw+llCF2k7zDBgQUYz2m16f0kIxCoLiYhMGHRJGM=----ATTACHMENT:----MzM5OTIyMTA5NjU3NTA5MiA1ODgwNTUzMzUzNzA2NTkzIDM4OTA1Mzg4Mjk4MjgxNDg=