@Test public void binaryToStringTest() { OSimpleObject<byte[]> simpleObject = OSimpleObjects.create(EdmSimpleType.BINARY, VALUE.getBytes()); String toString = simpleObject.toString(); Assert.assertTrue(toString.contains(HEX_VALUE)); }
@Test public void stringToStringTest() { OSimpleObject<String> simpleObject = OSimpleObjects.create(EdmSimpleType.STRING, VALUE); String toString = simpleObject.toString(); Assert.assertTrue(toString.contains(VALUE)); }