示例#1
0
 /**
  * @covers              \SimpleAuth\Authenticator\setHashAlgorithm
  * @expectedException   \SimpleAuth\InvalidArgumentException
  */
 public function testSetInvalidHashAlgorithm()
 {
     // Construct
     $a = new Authenticator(self::TEST_SECRET);
     // Test
     $a->setHashAlgorithm('test');
 }