Beispiel #1
0
 public void Check_IsValid_With_Valid_Input()
 {
     Assert.True(ApiHttpMethods.IsValid(ApiHttpMethods.Get));
     Assert.True(ApiHttpMethods.IsValid(ApiHttpMethods.Put));
     Assert.True(ApiHttpMethods.IsValid(ApiHttpMethods.Post));
     Assert.True(ApiHttpMethods.IsValid(ApiHttpMethods.Delete));
 }
Beispiel #2
0
 public void Check_IsValid_With_Invalid_Input()
 {
     Assert.False(ApiHttpMethods.IsValid("some invalid text"));
 }