public void IsFlagSetTest() { Assert.That(test.IsFlagSet(TestEnum.Value1), Is.True); Assert.That(test.IsFlagSet(TestEnum.Value3), Is.False); Assert.Throws <ArgumentException>(() => ConsoleColor.Blue.IsFlagSet(ConsoleColor.Blue)); }