@Test
public void testGetConnectionWithSubject() throws ResourceException {
String user = new String("user");
char password[] = {'a', 'b', 'c'};
PasswordCredential creds = new PasswordCredential(user, password);
creds.setManagedConnectionFactory(factory);
subj.getPrivateCredentials().add(creds);
Object o = mci.getConnection(subj, cri);
verifyProxyInterceptors(o);
}