Ejemplo n.º 1
0
 /**
  * Test that a save throws an exception when there's no "number" property
  * @covers \DuoAuth\Devices\Phone::save
  * @expectedException \InvalidArgumentException
  */
 public function testCreateDeviceNoNumber()
 {
     $phone = new \DuoAuth\Devices\Phone();
     $phone->save();
 }