public void IsValidForRequestThrowsIfControllerContextIsNull() { HttpVerbAttributeHelper.TestHttpVerbAttributeNullControllerContext <HttpPatchAttribute>(); }
public void IsValidForRequestReturnsFalseIfHttpVerbIsNotPatch() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithInvalidVerb <HttpPatchAttribute>("GET"); }
public void IsValidForRequestReturnsTrueIfHttpVerbIsOptions() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpOptionsAttribute>("OPTIONS"); }
public void IsValidForRequestReturnsTrueIfHttpVerbIsPatch() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpPatchAttribute>("PATCH"); }
public void IsValidForRequestReturnsTrueIfHttpVerbIsPost() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpDeleteAttribute>("DELETE"); }
public void IsValidForRequestReturnsFalseIfHttpVerbIsNotPost() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithInvalidVerb <HttpDeleteAttribute>("POST"); }
public void IsValidForRequestReturnsFalseIfHttpVerbIsNotPost() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithInvalidVerb <HttpPostAttribute>("DELETE"); }
public void IsValidForRequestReturnsTrueIfHttpVerbIsPost() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpPostAttribute>("POST"); }
public void IsValidForRequestReturnsTrueIfHttpVerbIsHead() { HttpVerbAttributeHelper.TestHttpVerbAttributeWithValidVerb <HttpHeadAttribute>("HEAD"); }