You are here

public function HookStubProxy::verify in Authenticated User Page Caching (Authcache) 7.2

Verify invocations.

Parameters

callable $checkfunc: Use this function to test invocation expectations.

string $message: A reference to a string for the validation message.

Return value

bool Return TRUE when expectations are met, FALSE otherwise.

File

tests/HookStub.inc, line 103
Defines some helper classes for stubbing and recording hook invocations.

Class

HookStubProxy
(Internal) helper class representing a stub-hook.

Code

public function verify($checkfunc, &$message) {
  return HookStub::verify($this->hookname, $checkfunc, $message);
}