public async Task GetAllReleasedProfileTotals_Returns_NotFoundObjectResult_Result_Given_PublishingApi_Returns_An_Empty_Ok_Result() { string aValidId = "VALID_ID"; _publishingApiClient.GetAllReleasedProfileTotals(aValidId, aValidId, aValidId) .Returns(new ApiResponse <IDictionary <int, ProfilingVersion> >(HttpStatusCode.OK)); IActionResult result = await _publishController.GetAllReleasedProfileTotals( aValidId, aValidId, aValidId); result.Should().BeAssignableTo <NotFoundObjectResult>(); }