public void IsValidForRequestReturnsTrueIfHttpVerbIsPatch()
 {
     HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpPatchAttribute>("PATCH");
 }
예제 #2
0
 public void IsValidForRequestReturnsTrueIfHttpVerbIsOptions()
 {
     HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpOptionsAttribute>("OPTIONS");
 }
 public void IsValidForRequestReturnsTrueIfHttpVerbIsPost()
 {
     HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpPostAttribute>("POST");
 }
 public void IsValidForRequestReturnsTrueIfHttpVerbIsPost()
 {
     HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpDeleteAttribute>("DELETE");
 }
예제 #5
0
 public void IsValidForRequestReturnsTrueIfHttpVerbIsHead()
 {
     HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpHeadAttribute>("HEAD");
 }