PRINCIPAL, _connectURI, properties);
assertNotNull(connection);
// make sure can't connect without a valid principal
try {
connection = clientCF.getConnection(new BasicPrincipal("x", "y"),
_connectURI, properties);
fail("Expected ResourceException to be thrown");
} catch (ResourceException expected) {
// no-op
}