You are here

public static function AuthcacheP13nTestStubVerifyer::once in Authenticated User Page Caching (Authcache) 7.2

Invocation verifier testing whether a method was invoked exacly once.

4 calls to AuthcacheP13nTestStubVerifyer::once()
AuthcacheP13nTestDefaultRequestHandler::testDefaultRequestHandlerWithResponseFilter in modules/authcache_p13n/tests/authcache_p13n.request-handler.test
Test handler with response filter.
AuthcacheP13nTestFragmentBuilder::testFragmentBuilderLoader in modules/authcache_p13n/tests/authcache_p13n.request-handler.test
Test request with loader.
AuthcacheP13nTestFragmentBuilder::testFragmentBuilderValidation in modules/authcache_p13n/tests/authcache_p13n.request-handler.test
Test request with validator.
AuthcacheP13nTestStubVerifyer::verify in modules/authcache_p13n/tests/authcache_p13n.stub.inc
Test whether the the expectations are fullfilled.

File

modules/authcache_p13n/tests/authcache_p13n.stub.inc, line 153
Stub classes for testing.

Class

AuthcacheP13nTestStubVerifyer
Simple invocation verifier class.

Code

public static function once() {
  return static::times(1);
}