getClass().getResource("alice.properties"));
assertEquals(BigInteger.valueOf(10), pt.doubleIt(BigInteger.valueOf(5)));
}
@Test
public void testCXF3452() throws Exception {
DoubleItPortTypeHeader pt;
pt = service.getDoubleItPortCXF3452();
updateAddressPort(pt, PORT);
((BindingProvider)pt).getRequestContext().put(SecurityConstants.CALLBACK_HANDLER,
new KeystorePasswordCallback());
((BindingProvider)pt).getRequestContext().put(SecurityConstants.SIGNATURE_PROPERTIES,
getClass().getResource("alice.properties"));
((BindingProvider)pt).getRequestContext().put(SecurityConstants.ENCRYPT_PROPERTIES,
getClass().getResource("alice.properties"));
DoubleIt di = new DoubleIt();
di.setNumberToDouble(BigInteger.valueOf(5));
assertEquals(BigInteger.valueOf(10), pt.doubleIt(di, 1).getDoubledNumber());
}