/**
  * @covers WindowsAzure\Common\ServiceException::__construct
  */
 public function test__construct()
 {
     // Setup
     $code = '210';
     $error = 'Invalid value provided';
     $reason = 'Value can\'t be null';
     // Test
     $e = new ServiceException($code, $error, $reason);
     // Assert
     $this->assertEquals($code, $e->getCode());
     $this->assertEquals($error, $e->getErrorText());
     $this->assertEquals($reason, $e->getErrorReason());
 }