public async Task TestGetLocationTypesAsync() { var model = new PagingQueryBindingModel <SimpleLookupDTO>(); var response = await controller.GetLocationTypesAsync(model); Assert.IsInstanceOfType(response, typeof(OkNegotiatedContentResult <PagedQueryResults <SimpleLookupDTO> >)); locationTypeService.Verify(x => x.GetAsync(It.IsAny <QueryableOperator <SimpleLookupDTO> >()), Times.Once()); }