Exemplo n.º 1
0
        public void GetReservedOffersTest()
        {
            string username = "******";

            IHttpActionResult result = _controller.GetReservedOffers(username);
            var contentResult        = result as OkNegotiatedContentResult <IList <Offer> >;

            Assert.IsNotNull(contentResult);
            Assert.IsNotNull(contentResult.Content);
            Assert.AreEqual(0, contentResult.Content.Count);
        }