// normalize the 2 provided values and check that they are equals
ByteString normalizedValue =
rule.normalizeValue(ByteString.valueOf(value));
ByteString normalizedInitial =
rule.normalizeValue(ByteString.valueOf(initial));
Boolean liveResult = rule.valueMatchesSubstring(
normalizedValue, normalizedInitial, null, null);
if (result != liveResult)
{
fail("initial substring matching rule " + rule +