List<PoolMetaData> pools = unit.getAttachmentList( PoolMetaData.ATTACHMENTS_KEY );
assertFalse( pools.isEmpty() );
assertEquals( 2, pools.size() );
PoolMetaData poolOne = pools.get( 0 );
assertNotNull( poolOne );
assertEquals( "pool_one", poolOne.getName() );
assertEquals( 1, poolOne.getMinimumSize() );
assertEquals( 1, poolOne.getMaximumSize() );
PoolMetaData poolTwo = pools.get( 1 );
assertEquals( "pool_two", poolTwo.getName() );
assertEquals( 10, poolTwo.getMinimumSize() );
assertEquals( 200, poolTwo.getMaximumSize() );
}