Ejemplo n.º 1
0
        //[TestMethod]
        async public Task GetClaimsLossDateRange()
        {
            var result = await controller.GetClaimsByLosDateRange("2014-07-09 17:19:13.630", "2014-07-09 17:19:13.630");

            OkNegotiatedContentResult <IEnumerable <MitchellClaimType> > conNegResult = result as OkNegotiatedContentResult <IEnumerable <MitchellClaimType> >;

            Assert.IsTrue(conNegResult != null && conNegResult.Content.GetEnumerator().MoveNext());
        }