public void LayTaiKhoan_TestStatusResponse() { //Act IHttpActionResult actionResult = controller.LayTaiKhoan(132); var actual_result = actionResult as OkNegotiatedContentResult <UserMasterDTO>; //Assert Assert.IsNotNull(actionResult); Assert.IsNotNull(actual_result.Content); Assert.AreEqual("anhnguyenduc", actual_result.Content.UserName); }