public void GetMetricsByPercentileFrom_ReturnsOk() { //Arrange var fromTime = TimeSpan.FromSeconds(0); var toTime = TimeSpan.FromSeconds(100); var capacity = Percentile.P95; //Act var result = controller.GetMetricsByPercentileFrom(fromTime, toTime, capacity); // Assert _ = Assert.IsAssignableFrom <IActionResult>(result); }