use of org.jboss.as.test.integration.jca.rar.MultipleResourceAdapter2 in project wildfly by wildfly.
the class CustomBootstrapContextTestCase method testConfiguration.
/**
* Test configuration
*
* @throws Throwable Thrown if case of an error
*/
@Test
public void testConfiguration() throws Throwable {
assertNotNull("CF1 not found", connectionFactory1);
assertNotNull("AO1 not found", adminObject1);
MultipleAdminObject1Impl impl = (MultipleAdminObject1Impl) adminObject1;
MultipleResourceAdapter2 adapter = (MultipleResourceAdapter2) impl.getResourceAdapter();
assertNotNull(adapter);
assertEquals(wm, adapter.getWorkManagerName());
assertEquals(ctx, adapter.getBootstrapContextName());
}
Aggregations