public async Task GetActiveRacesTest() { var race = (await RaceDao.FindAllAsync()).First(); race.RaceStateId = 2; await RaceDao.UpdateAsync(race); Assert.AreEqual(1, (await RaceDao.GetActiveRaces()).Count()); }