示例#1
0
 public InstrumentManagerTestsBase()
 {
     this.OrpheeFileExporterMock = new Mock<IOrpheeFileExporter>();
     this.SoundPlayerMock = new Mock<ISoundPlayer>();
     this.InstrumentManager = new InstrumentManager();
     this.LoopCreationViewModel = new LoopCreationViewModel(this.SoundPlayerMock.Object, this.InstrumentManager, this.OrpheeFileExporterMock.Object);
 }
示例#2
0
 public WhenAToggleButtonNoteIsClicked()
 {
     this.OrpheeFileExporterMock = new Mock<IOrpheeFileExporter>();
     this.InstrumentManagerMock = new Mock<IInstrumentManager>();
     this.MidiLibRepositoryMock = new Mock<IMidiLibRepository>();
     this.SoundPlayer = new SoundPlayer(this.MidiLibRepositoryMock.Object);
     this.LoopCreationViewModel = new LoopCreationViewModel(this.SoundPlayer, this.InstrumentManagerMock.Object, this.OrpheeFileExporterMock.Object);
 }