Search in sources :

Example 1 with ResourceBean

use of org.apache.cxf.jca.core.resourceadapter.ResourceBean in project cxf by apache.

the class ResourceAdapterImplTest method testConstructorWithProperties.

@Test
public void testConstructorWithProperties() throws Exception {
    Properties props = new Properties();
    ResourceAdapterImpl rai = new ResourceAdapterImpl(props);
    assertTrue("constructed with props", rai instanceof ResourceAdapterImpl);
    assertTrue("constructed with props", rai instanceof ResourceBean);
    assertTrue("constructed with props", rai instanceof ResourceAdapter);
    assertTrue("constructed with props", rai instanceof Serializable);
}
Also used : Serializable(java.io.Serializable) ResourceBean(org.apache.cxf.jca.core.resourceadapter.ResourceBean) ResourceAdapter(javax.resource.spi.ResourceAdapter) Properties(java.util.Properties) Test(org.junit.Test)

Aggregations

Serializable (java.io.Serializable)1 Properties (java.util.Properties)1 ResourceAdapter (javax.resource.spi.ResourceAdapter)1 ResourceBean (org.apache.cxf.jca.core.resourceadapter.ResourceBean)1 Test (org.junit.Test)1