Beispiel #1
0
 /**
  * Be sure it throws an exception when no Phone ID can be found
  * @covers \DuoAuth\Devices\Phone::associate
  * @expectedException \InvalidArgumentException
  */
 public function testAssociateDeviceNoPhoneId()
 {
     $phone = new \DuoAuth\Devices\Phone();
     $user = new \DuoAuth\User();
     $phone->associate($user);
 }