private void AreEqual(UndefinedEnum expected, UndefinedEnum actual) { if (expected != actual) { throw new TestFailureException(string.Format("Actual value '{0}' does not match expected value '{1}'.", actual, expected)); } }
// construction and disposing public SearchObjectWithUndefinedEnum() { _undefinedEnum = UndefinedEnum.Undefined; }