public void FromRequestMethodToMethod_IfRequestMethodDoesNotExist_ThrowsException(RequestMethod source) { Assert.Catch(() => source.Map <RequestMethod, Method>()); }
public void FromRequestMethodToMethod_IfRequestMethodExists_MapsCorrectly(RequestMethod source, Method expected) { var result = source.Map <RequestMethod, Method>(); Assert.AreEqual(expected, result); }