String wstringValue = "test wstring";
any.insert_wstring(wstringValue);
anyHandler.setValue(any);
expectedSchemaType = "xs:string";
result = anyHandler.getValue();
assertTrue(result.type().kind().value() == TCKind._tk_wstring);
String wstringResult = result.extract_wstring();
assertTrue(wstringResult == wstringValue);
resultSchemaType = anyHandler.getSchemaType();
assertTrue(resultSchemaType.equals(expectedSchemaType));
}