public async void TestFindAll() { ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing); IRaceDao raceDao = new RaceDao(connectionFactory); foreach (var _ in await raceDao.FindAll()) { Assert.True(false, "FindAll should return an empty collection"); } await InsertRace(connectionFactory); foreach (var _ in await raceDao.FindAll()) { return; } Assert.True(false, "FindAll should return a non-empty collection"); }