public void SetInstrument_ShouldThrowExceptionOnZeroHandle() { var mock = new Mock <ILibsndfileCommandApi>(); var api = new LibsndfileCommandApi(mock.Object); api.SetInstrument(IntPtr.Zero, It.IsAny <LibsndfileInstrumentInfo>()); }
public void SetInstrument_ShouldThrowExceptionOnZeroHandle() { var mock = new Mock<ILibsndfileCommandApi>(); var api = new LibsndfileCommandApi(mock.Object); api.SetInstrument(IntPtr.Zero, It.IsAny<LibsndfileInstrumentInfo>()); }