assertEquals(count, objects.length);
for (int i = 0; i < count; ++i) {
assertEquals(i, objects[i].intValue());
}
client.unexportObject(callback);
try {
service.invoke(new Integer(0));
} catch (RemoteInvocationException expected) {
// expected behaviour
assertTrue(expected.getTargetException()