Dependencies:
3031323334353637383940414243
public void testWithMalformedUrlBean() { try { final HessianProvider p = new HessianProvider(); p.setServiceInterface( Echo.class ); p.setUrl( "a malformed URL" ); p.getObject(); fail(); } catch( ObjectProviderException e ) { }
454647484950515253545556
public void testWithMalformedUrl() { try { final HessianProvider p = new HessianProvider( Echo.class, "a malformed URL" ); p.getObject(); fail(); } catch( ObjectProviderException e ) { }