public static void WithBody(this IRequestVerify handler, string expectedBody) { Assert.That(handler.GetBody(), Is.EqualTo(expectedBody)); }
public static void WithBody(this IRequestVerify handler, IResolveConstraint constraint) { Assert.That(handler.GetBody(), constraint.Resolve()); }