any.insert_wchar(wcharValue);
anyHandler.setValue(any);
expectedSchemaType = "xs:string";
result = anyHandler.getValue();
assertTrue(result.type().kind().value() == TCKind._tk_wchar);
char wcharResult = result.extract_wchar();
assertTrue(wcharResult == wcharValue);
resultSchemaType = anyHandler.getSchemaType();
assertTrue(resultSchemaType.equals(expectedSchemaType));
byte octetValue = (byte)8;