예제 #1
0
 public void GetMetadataPage_With_NonPositive_Page_Throws_ArgumentOutOfRangeException(int input)
 {
     //the call to ToList ensures the IEnumerable is evaluated
     mockClient.GetMetadataPage(input).ToList();
 }
예제 #2
0
 public void GetMetadataPage_With_NonPositive_Page_Throws_ArgumentOutOfRangeException(int input)
 {
     //the call to ToList ensures the IEnumerable is evaluated
     Assert.That(() => mockClient.GetMetadataPage(input).ToList(), Throws.TypeOf <ArgumentOutOfRangeException>());
 }