assertEquals( $cache_key, 'webfinger_' . $hash ); } public function the_cache_key_provider() { return array( array( 'http://example.org/?author=1', md5( 'http://example.org/?author=1' ) ), array( '@author@example.org', md5( 'acct:author@example.org' ) ), array( 'author@example.org', md5( 'acct:author@example.org' ) ), array( 'acct:author@example.org', md5( 'acct:author@example.org' ) ), array( 'https://example.org', md5( 'https://example.org' ) ), ); } }