public void LoadUDFHistoryData_ForDataTable_ReturnActionResult() { // Arrange InitializeUdfHistory(); var controller = new SubscriberController(); // Act var result = controller.LoadUDFHistoryData(GroupId, GroupId, GroupId) as JsonResult; // Assert result.ShouldSatisfyAllConditions( () => result.ShouldNotBeNull(), () => result.Data.ShouldNotBeNull()); }