public void StatisticsCheapestOfferTest() { string username = "******"; IHttpActionResult result = _controller.CheapestOfferPrice(username); var contentResult = result as OkNegotiatedContentResult <double>; Assert.IsNotNull(contentResult); Assert.IsNotNull(contentResult.Content); Assert.AreEqual(300, contentResult.Content); }