use of javax.resource.cci.Connection in project wildfly by wildfly.
the class AbstractModuleDeploymentTestCase method testConnectionFactory.
/**
* Test configuration
*
* @throws Throwable in case of an error
*/
public void testConnectionFactory(ConnectionFactory connectionFactory) throws Throwable {
assertNotNull(connectionFactory);
Connection c = connectionFactory.getConnection();
assertNotNull(c);
c.close();
}
Aggregations