public void ThrowsNotSupportedExceptionInXP() { OSUtils.RequireXP(); Assert.Throws <NotSupportedException>(() => new MMDeviceEnumerator()); }