Beispiel #1
0
        public void GetLoopInfo_ShouldThrowExceptionOnZeroHandle()
        {
            var mock = new Mock <ILibsndfileCommandApi>();

            var api = new LibsndfileCommandApi(mock.Object);

            api.GetLoopInfo(IntPtr.Zero);
        }
Beispiel #2
0
        public void GetLoopInfo_ShouldThrowExceptionOnZeroHandle()
        {
            var mock = new Mock<ILibsndfileCommandApi>();

            var api = new LibsndfileCommandApi(mock.Object);
            api.GetLoopInfo(IntPtr.Zero);
        }