public void testReadULongLong() {
Buffer buf = new Buffer();
OutputStream oStream = new OutputStream(buf);
oStream.write_ulonglong(-1000000000);
InputStream iStream = oStream.create_input_stream();
CorbaObjectReader reader = new CorbaObjectReader(iStream);
BigInteger ulonglongValue = reader.readULongLong();
assertTrue(ulonglongValue.longValue() == -1000000000);
}