public void CreateAndDestroy() { var mp = new MediaPlayer(new Instance()); mp.Dispose(); Assert.AreEqual(IntPtr.Zero, mp.NativeReference); }