public void SetUp(int a, int b) { _mediaId = new MediaInfoCommand(_database).Add(TestConstants.AudioFile).Id; _cmd = new TagCommand(_database); var reader = _cmd.Select(); while (reader.Read()) { _cmd.Delete(reader.Current.Id); } _tagId = _cmd.Insert(Name).Id; _cmd.AddMedia(_tagId, _mediaId); }
public void Delete_WITH_VALID_ID() { Assert.That(_cmd.Delete(_tagId), Is.True); }