public void GetByTypeTest() { int type = (int)GameType.Big; IList <GameDto> results = _gameDao.GetByType(type); Assert.That(results, Is.Not.Empty); Assert.That(results.All(x => x.Type == type), Is.True); }