public OrpheeFileExporter(IFileHeaderWriter fileHeaderWriter, ITrackHeaderWriter trackHeaderWriter, INoteMessageWriter noteMessageWriter) { this._fileHeaderWriter = fileHeaderWriter; this._trackHeaderWriter = trackHeaderWriter; this._noteMessageWriter = noteMessageWriter; }
public WhenFileHeaderWriterIsCalled() { this.OrpheeFileParameters = new OrpheeFileParameters() { DeltaTicksPerQuarterNote = 60, NumberOfTracks = 1, OrpheeFileType = 0 }; this.SwapManager = new SwapManager(); this.FileHeaderWriter = new FileHeaderWriter(this.SwapManager); var result = InitializeFile("FileHeaderWriterTests.test").Result; }