public void SetInstrument_ShouldThrowExceptionOnZeroHandle()
        {
            var mock = new Mock <ILibsndfileCommandApi>();

            var api = new LibsndfileCommandApi(mock.Object);

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

            var api = new LibsndfileCommandApi(mock.Object);
            api.SetInstrument(IntPtr.Zero, It.IsAny<LibsndfileInstrumentInfo>());
        }