}
}
public void testUnshareableConnections() throws Throwable {
unshareableResources.add(name);
mockComponent = new DefaultInterceptor() {
public Object invoke(ConnectorInstanceContext newConnectorInstanceContext) throws Throwable {
ConnectionExtension mockConnection1 = (ConnectionExtension) connectionFactory.getConnection();
mockManagedConnection = mockConnection1.getManagedConnection();
ConnectionExtension mockConnection2 = (ConnectionExtension) connectionFactory.getConnection();
//the 2 cx are for the same RM, so tm will call commit only one one (the first)