You are here

public static function HookStub::never in Authenticated User Page Caching (Authcache) 7.2

Returns a verifyier which succeeds when a hook never was invoked.

19 calls to HookStub::never()
AuthcacheBackendKeyManagementTestCase::testNoKeyRenewWhenKeyDoesNotChange in tests/authcache.backend.test
Do not call hook_authcache_backend_key_set when key remains the same.
AuthcacheCommentTest::testCommentAttributionWithFormCache in modules/authcache_comment/authcache_comment.test
Test that comments get properly attributed when the form cache is in use.
AuthcacheCommentTest::testNoMarkupSubstitutionForGuestUser in modules/authcache_comment/authcache_comment.test
Ensure that markup is substituted for authcache enabled comments.
AuthcacheCommentTest::testNumberOfNewComments in modules/authcache_comment/authcache_comment.test
Test that the number of new comments is replaced by a placeholder.
AuthcacheCommerceTest::testCommerceAddToCartWithFormCache in modules/authcache_commerce/authcache_commerce.test
Test that products are added to the proper cart.

... See full list

File

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

Class

HookStub
Static methods for keeping track of enabled hooks and invocations.

Code

public static function never() {
  return static::times(0);
}