@Test
public void testEncodings() throws Exception {

  final String HELLO = "hello";
  
  List<MyAttributeValue> arguments = new ArrayList<MyAttributeValue>();
  arguments.clear();
  arguments.add(new MyEncodingStringSha256(HELLO, null));
  arguments.add(new MyEncodingStringUtf8(HELLO, null));
  assertFalse(evaulateFunction(stringEqualFunction, arguments));
  
  arguments.clear();
  arguments.add(new MyEncodingStringUtf8(HELLO, null));
  arguments.add(new MyEncodingStringUtf8(HELLO, null));
  assertTrue(evaulateFunction(stringEqualFunction, arguments));
  
  arguments.clear();
  arguments.add(new MyEncodingStringSha256(HELLO, null));
  arguments.add(new MyEncodingStringSha256(HELLO, null));
  assertTrue(evaulateFunction(stringEqualFunction, arguments));
  
  arguments.clear();
  arguments.add(new MyAttributeValueString(HELLO, null));
  arguments.add(new MyEncodingStringSha256(HELLO, null));
  assertTrue(evaulateFunction(stringEqualFunction, arguments));
}