Ejemplo n.º 1
0
        public void DeleteOneTrackTest()
        {
            var track          = GetTrack();
            var trackReference = trackDao.InsertTrack(track, 10).TrackReference;

            trackDao.DeleteTrack(trackReference);

            Assert.IsEmpty(trackDao.ReadTracksByReferences(new [] { trackReference }));
        }
Ejemplo n.º 2
0
        public void DeleteOneTrackTest()
        {
            var trackReference = new ModelReference <int>(101);
            var track          = GetTrack(trackReference);

            trackDao.InsertTrack(track);

            trackDao.DeleteTrack(trackReference);

            Assert.IsEmpty(trackDao.ReadTracksByReferences(new [] { trackReference }));
        }