129130131132133134135136137138139
assertEquals ((short)0xffff, p.rebind_mode()); RebindPolicy p2 = (RebindPolicy)p.copy(); assertEquals (p.rebind_mode(), p2.rebind_mode()); p.destroy(); p2.destroy(); } @Test public void testRelativeRequestTimeoutPolicy() {