public function testAuthenticate()
 {
     // Construct
     $a = new Authenticator(self::TEST_SECRET);
     $date = new \DateTime();
     $random = self::TEST_RANDOM;
     $hash = $a->createAuthentication($random, $date);
     // Test
     $this->assertTrue($a->authenticate($date, $random, $hash));
 }