void ThrowOnBadProcessNameWorks() { VisualStudioUtil.ThrowOnBadProcessName("DEVenv"); Assert.Throws <ArgumentException>(() => VisualStudioUtil.ThrowOnBadProcessName("devenv2")); Assert.Throws <NotSupportedException>(() => VisualStudioUtil.ThrowOnBadProcessName("wdexpress")); }