Esempio n. 1
0
 public void FromRequestMethodToMethod_IfRequestMethodDoesNotExist_ThrowsException(RequestMethod source)
 {
     Assert.Catch(() => source.Map <RequestMethod, Method>());
 }
Esempio n. 2
0
        public void FromRequestMethodToMethod_IfRequestMethodExists_MapsCorrectly(RequestMethod source, Method expected)
        {
            var result = source.Map <RequestMethod, Method>();

            Assert.AreEqual(expected, result);
        }