String connectionAttribute_1 = "attribute-connection-1";
String connectionAttribute_2 = "attribute-connection-2";
MetadataManager mm = MetadataManager.getInstance();
ConnectionRepository cr = mm.readConnectionRepository(MetadataTest.TEST_CONNECTION_DESCRIPTOR);
JdbcConnectionDescriptor jcd = cr.getDescriptor(new PBKey("runtime"));
String res_1 = jcd.getAttribute(connectionAttribute_1);
String res_2 = jcd.getAttribute(connectionAttribute_2);
assertNotNull("No attributes found", res_1);
assertNotNull("No attributes found", res_2);
assertEquals("Found attribute does not match", "attribute-connection-test-value-1", res_1);