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)); }
public void Check_IsValid_With_Invalid_Input() { Assert.False(ApiHttpMethods.IsValid("some invalid text")); }