long longlongValue = -123456789;
any.insert_longlong(longlongValue);
anyHandler.setValue(any);
expectedSchemaType = "xs:long";
result = anyHandler.getValue();
assertTrue(result.type().kind().value() == TCKind._tk_longlong);
long longlongResult = result.extract_longlong();
assertTrue(longlongResult == longlongValue);
resultSchemaType = anyHandler.getSchemaType();
assertTrue(resultSchemaType.equals(expectedSchemaType));