public static function verify($mock) { if (!empty($mock->_called_methods)) { AssertAdapter::fail("Expected zero interactions but got " . MethodCall::arrayToString($mock->_called_methods)); } }
public static function verifyZeroInteractions($mock) { ZeroInteractionsVerifier::verify(self::_extractMock($mock)); }