public void RepackStorageExceptionWithoutStatusMessageTest()
 {
     RequestResult result = new RequestResult()
     {
         HttpStatusCode = 500
     };
     string message = string.Empty;
     ResourceAlreadyExistException innerException = new ResourceAlreadyExistException(message);
     StorageException exception = new StorageException(result, message, innerException);
     Assert.IsNotNull(exception.RepackStorageException());
 }
 public void RepackStorageExceptionTest()
 {
     string status = String.Empty;
     RequestResult result = new RequestResult()
     {
         HttpStatusCode = 404
     };
     string message = "storage exception";
     ResourceAlreadyExistException innerException = new ResourceAlreadyExistException(message);
     StorageException exception = new StorageException(result, message, innerException);
     exception = exception.RepackStorageException();
     Assert.IsNotNull(exception);
 }
 public void RepackStorageExceptionWithoutInfoTest()
 {
     StorageException exception = new StorageException(null, string.Empty, null);
     Assert.IsNotNull(exception.RepackStorageException());
 }