propValues.put("DLQ", SimpleValueSupport.wrap((String)null));
propValues.put("expiryQueue", null);
ComponentType type = KnownComponentTypes.JMSDestination.Queue.getType();
createComponentTest("QueueTemplate", propValues, getName(), type, jndiName);
ManagedComponent queue = activeView.getComponent("testCreateQueueWithNullDLQ", type);
assertNotNull(queue);
assertEquals("testCreateQueueWithNullDLQ", queue.getName());
log.info(queue.getProperties().keySet());
assertEquals("downCacheSize", queue.getProperty("downCacheSize").getValue(), new SimpleValueSupport(SimpleMetaType.INTEGER_PRIMITIVE, 1999));
ManagedProperty serverPeer = queue.getProperty("serverPeer");
assertNotNull(serverPeer);
MetaType serverPeerType = serverPeer.getMetaType();
assertEquals(SimpleMetaType.STRING, serverPeerType);
ManagedProperty dlq = queue.getProperty("DLQ");
assertNotNull(dlq);
MetaType dlqType = dlq.getMetaType();
assertEquals(SimpleMetaType.STRING, dlqType);
ManagedProperty expiryQueue = queue.getProperty("expiryQueue");
assertNotNull(expiryQueue);
MetaType expiryQueueType = serverPeer.getMetaType();
assertEquals(SimpleMetaType.STRING, expiryQueueType);
}