From 34dcc17aa3ea1643e99d37098a08c30e1eaf94ec Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Fri, 6 Aug 2010 15:58:46 +0000 Subject: [PATCH] test case for https://issues.apache.org/activemq/browse/AMQ-2203 - start=false git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983035 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/xbean/XBeanStartFalseTest.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java diff --git a/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java b/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java new file mode 100644 index 0000000000..92c4c18492 --- /dev/null +++ b/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java @@ -0,0 +1,17 @@ +package org.apache.activemq.xbean; + +import java.net.URI; + +import junit.framework.TestCase; + +import org.apache.activemq.broker.BrokerFactory; +import org.apache.activemq.broker.BrokerService; + +public class XBeanStartFalseTest extends TestCase { + + public void testStartFalse() throws Exception { + BrokerService broker = BrokerFactory.createBroker(new URI("xbean:org/apache/activemq/xbean/activemq2.xml")); + assertFalse("Broker is started", broker.isStarted()); + } + +}