private static void AreEqual(QueryCompositionCustomer expected, QueryCompositionCustomer actual) { Assert.NotNull(expected); Assert.NotNull(actual); Assert.True(expected.Name == actual.Name && expected.Id == actual.Id); }
private static void AreEqual(List <QueryCompositionCustomer> expectedList, List <QueryCompositionCustomer> actualList) { Assert.NotNull(expectedList); Assert.NotNull(actualList); Assert.Equal(expectedList.Count, actualList.Count); for (int i = 0; i < expectedList.Count; i++) { QueryCompositionCustomer expected = expectedList[i]; QueryCompositionCustomer actual = actualList[i]; AreEqual(expected, actual); } }