public void Test_2_Get() { // Arrange var c = new QuestController(); c.Request = new HttpRequestMessage(); c.Configuration = new HttpConfiguration(); // Act var r = c.Get(player_name); var cr = r as OkNegotiatedContentResult <StateResponse>; // Assert Assert.IsNotNull(r); Assert.IsNotNull(cr); Assert.IsNotNull(cr.Content); Assert.IsTrue(cr.Content.TotalQuestPercentCompleted > 0.0); }