Exemplo n.º 1
0
 public void ApiException_CanInstantiateWithInnerException()
 {
     var ex = new ApiException("hallo", new Exception("test"));
 }
Exemplo n.º 2
0
 public void ApiException_CanInstantiateWithMessage()
 {
     var ex = new ApiException("bye");
 }
Exemplo n.º 3
0
 public void ApiException_CanInstantiateDefault()
 {
     var ex = new ApiException();
     Assert.IsNotNull(ex);
     Assert.IsInstanceOfType(ex, typeof(Exception));
 }