public void GetMetricsFromAgent_ReturnsOk() { //Arrange var fromTime = TimeSpan.FromSeconds(0); var toTime = TimeSpan.FromSeconds(100); //Act var result = _controller.GetNetworkMetrics(fromTime, toTime); // Assert _ = Assert.IsAssignableFrom <IActionResult>(result); }
public void GetNetworkMetrics_returnsOk() { var actual = networkController.GetNetworkMetrics(fromTime, toTime); _ = Assert.IsAssignableFrom <IActionResult>(actual); }