* <li>IService is remotable service to test "@AllowsPassByReference" at
* class level</li>
*/
@Test
public void atService4() throws Exception {
AObject b = new AObject();
Assert.assertEquals("BService", bService.setAObject(b));
Assert.assertEquals("BService", b.aString);
AObject h1 = new AObject();
Assert.assertEquals("HService", hService.setAObject1(h1));
Assert.assertEquals("HService", h1.aString);
h1.aString = "atService4";
Assert.assertEquals("atService4", hService.getAObject1String());
AObject h2 = new AObject();
Assert.assertEquals("HService", hService.setAObject2(h2));
Assert.assertNull(h2.aString);
h2.aString = "atService4";
Assert.assertEquals("HService", hService.getAObject2String());
AObject h3 = hService.getAObject3();
h3.aString = "atService4";
Assert.assertEquals("HService", hService.getAObject3String());
AObject i1 = new AObject();
Assert.assertEquals("IService", iService.setAObject1(i1));
Assert.assertEquals("IService", i1.aString);
i1.aString = "atService4";
Assert.assertEquals("atService4", iService.getAObject1String());
AObject i2 = new AObject();
Assert.assertEquals("IService", iService.setAObject2(i2));
Assert.assertEquals("IService", i2.aString);
i2.aString = "atService4";
Assert.assertEquals("atService4", iService.getAObject2String());
AObject i3 = iService.getAObject3();
i3.aString = "atService4";
Assert.assertEquals("atService4", iService.getAObject3String());
}