public async void Criminal_File_Search_By_LastName() { var fcq = new FilesCriminalQuery() { SearchMode = SearchMode.PARTNAME, FileHomeAgencyId = "83.0001", LastName = "Sm" }; var actionResult = await _controller.FilesCriminalSearchAsync(fcq); var fileSearchResponse = HttpResponseTest.CheckForValidHttpResponseAndReturnValue(actionResult); Assert.Contains(fileSearchResponse.FileDetail, fd => fd.Participant.Any(p => p.FullNm.Contains("Smith"))); }