ByteString normalizedValue1 =
rule.normalizeValue(ByteString.valueOf(value1));
ByteString normalizedValue2 =
rule.normalizeValue(ByteString.valueOf(value2));
ConditionResult liveResult =
rule.valuesMatch(normalizedValue1, normalizedValue2);
if (result == true)
assertEquals(ConditionResult.TRUE, liveResult);
else
assertEquals(ConditionResult.FALSE, liveResult);