new TestInvocationHandler());
acceptor.accept(listener);
// create a connection
List connections = new ArrayList();
ManagedConnection connection = connection = createConnection(null, info);
connections.add(connection);
// verify connection matching
ManagedConnectionFactory factory = getManagedConnectionFactory();
ManagedConnection match = null;
// make sure that the created connection matches the info used
// to establish it
match = factory.matchManagedConnections(connections, null, info);
assertEquals(connection, match);