public void testEmptyContentMarshal() throws Exception
{
ManagedConnectionFactoryDeploymentGroup group = ManagedDeploymentSupportHelper.unmarshalResource("jca/deployment/empty-content-ds.xml");
String result = ManagedDeploymentSupportHelper.marshalResourceAsString(group);
group = ManagedDeploymentSupportHelper.unmarshalSource(result);
ManagedConnectionFactoryDeploymentMetaData md = group.getDeployments().get(0);
assertTrue(md.getTrackConnectionByTransaction()); // this is always true for local tx
assertFalse(md.isInterleaving());
assertTrue(md.getNoTxSeparatePools());
assertTrue(md.getUseStrictMin());
assertEquals(0, md.getAllocationRetry());
assertEquals(5000, md.getAllocationRetryWaitMillis());
}