public async Task TestGetObjectivesByProgramIdAsync() { var response = await controller.GetObjectivesByProgramIdAsync(1, new PagingQueryBindingModel <JustificationObjectiveDTO>()); Assert.IsInstanceOfType(response, typeof(OkNegotiatedContentResult <PagedQueryResults <JustificationObjectiveDTO> >)); justificationObjectiveService.Verify(x => x.GetJustificationObjectivesByProgramIdAsync(It.IsAny <int>(), It.IsAny <QueryableOperator <JustificationObjectiveDTO> >()), Times.Once()); }