public void WhenExecutingRequestItCallsInterceptors() { int cou = CountInterceptor.Count; string result = TextEndPoint.Get <string>().Body; Assert.IsNotNull(result); Assert.AreEqual(cou + 1, CountInterceptor.Count); }
public void CanGetStringEvenWhenMultipleCodecsExistsAsLongAsAMediaTypeIsReturned() { string result = TextEndPoint.Get <string>().Body; Assert.AreEqual("plain text", result); }