}
@Test
public void testSignatureCreationWithExternalHttpReference() throws Exception {
Proxy proxy = HttpRequestRedirectorProxy.startHttpEngine();
try {
ResolverHttp.setProxy(proxy);
ResolverDirectHTTP resolverDirectHTTP = new ResolverDirectHTTP();
resolverDirectHTTP.engineSetProperty("http.proxy.host", ((InetSocketAddress)proxy.address()).getAddress().getHostAddress());
resolverDirectHTTP.engineSetProperty("http.proxy.port", "" + ((InetSocketAddress)proxy.address()).getPort());
// Set up the Configuration
XMLSecurityProperties properties = new XMLSecurityProperties();
XMLSecurityConstants.Action[] actions =
new XMLSecurityConstants.Action[]{XMLSecurityConstants.SIGNATURE};