public void Test_Xor_Specification() { var spec1 = new ExpressionSpecification <int>((x) => { return(x > 10); } , new string[] { "less than 10" }); var spec2 = new ExpressionSpecification <int>((x) => { return(x > 15); } , new string[] { "less than 15" }); var result = spec1.Xor(spec2).ValidateWithMessagesAndContinue(12); }