public void TestHasValueWithFlag(EnumWithFlag value, EnumWithFlag check, bool exceptedValue) { bool hasValue = Matcher <EnumWithFlag> .HasValue(value, check); Assert.AreEqual(exceptedValue, hasValue, "Call HasValue on {0} and {1} return {2} while excepted {3}", value, check, hasValue, exceptedValue); }
public MyAttribute(EnumWithFlag en) { }