public async Task Customer_information_can_be_searched_deserialized() { var stubJson = LineUtility.CombineWithLineBreak( "{\"latitude\": \"52.366037\", \"user_id\": 16, \"name\": \"Ian Larkin\", \"longitude\": \"-8.179118\"}", "{\"latitude\": \"54.0894797\", \"user_id\": 8, \"name\": \"Eoin Ahearn\", \"longitude\": \"-6.18671\"}"); var subject = new TestSubject(stubJson); var customers = await subject.FindCustomers(c => c.Name.StartsWith("Ian"), c => c.UserId); Assert.Equal(new[] { "Ian Larkin" }, customers.Select(x => x.Name)); }