public void GetTrackIdsTest() { const int trackCount = 5; var expectedTracks = InsertTracks(trackCount); var tracks = trackDao.GetTrackIds().ToList(); Assert.AreEqual(trackCount, tracks.Count); foreach (var expectedTrack in expectedTracks) { Assert.IsTrue(tracks.Any(trackId => trackId == expectedTrack.Id)); } }