public MusicManagerTests(MusicClassFixture fixture) { _fixture = fixture; _musicRepository = Substitute.For <IMusicRepository>(); _musicRepository.ClearAll().Returns(true); _musicRepository.GetAllArtists().Returns(_fixture.Artists); _musicManager = new MusicManager(_musicRepository); }
public bool ClearAll() { var result = _musicRepository.ClearAll(); return(result); }