Exemplo n.º 1
0
 public void AssertClientException <TRest, TSoap>(TestDelegate test)
     where TRest : Exception
     where TSoap : Exception
 {
     if (Client.GetType() == typeof(RestSubscriptionClient))
     {
         Assert.Throws <TRest>(test);
     }
     else
     {
         Assert.Throws <TSoap>(test);
     }
 }