@@ -0,0 +1,1769 @@
+package com.nesscomputing.jms;%0A%0Aimport com.google.common.collect.ImmutableMap;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport com.nesscomputing.config.Config;%0A%0Apublic class TestJmsConfig%0A%7B%0A    @Test%0A    public void testDefault()%0A    %7B%0A        final Config config = Config.getEmptyConfig();%0A        final JmsConfig jmsConfig = config.getBean(JmsConfig.class);%0A%0A        Assert.assertTrue(jmsConfig.isEnabled());%0A    %7D%0A%0A    @Test%0A    public void testDisabled()%0A    %7B%0A        final Config config = Config.getFixedConfig(%22ness.jms.enabled%22, %22false%22);%0A        final JmsConfig jmsConfig = config.getBean(JmsConfig.class);%0A%0A        Assert.assertFalse(jmsConfig.isEnabled());%0A    %7D%0A%0A    @Test%0A    public void testEnabled()%0A    %7B%0A        final Config config = Config.getFixedConfig(%22ness.jms.enabled%22, %22true%22);%0A        final JmsConfig jmsConfig = config.getBean(JmsConfig.class);%0A%0A        Assert.assertTrue(jmsConfig.isEnabled());%0A    %7D%0A%0A    @Test%0A    public void testGlobalEnabledLocalDisabled()%0A    %7B%0A        final Config config = Config.getFixedConfig(%22ness.jms.enabled%22, %22true%22,%0A                                                    %22ness.jms.user-friendship.enabled%22, %22false%22);%0A        final JmsConfig jmsConfig = config.getBean(JmsConfig.class, ImmutableMap.of(%22name%22, %22user-friendship%22));%0A%0A        Assert.assertFalse(jmsConfig.isEnabled());%0A    %7D%0A%0A    @Test%0A    public void testGlobalDisabledLocalEnabled()%0A    %7B%0A        final Config config = Config.getFixedConfig(%22ness.jms.enabled%22, %22false%22,%0A                                                    %22ness.jms.user-friendship.enabled%22, %22true%22);%0A        final JmsConfig jmsConfig = config.getBean(JmsConfig.class, ImmutableMap.of(%22name%22, %22user-friendship%22));%0A%0A        Assert.assertTrue(jmsConfig.isEnabled());%0A    %7D%0A%7D%0A%0A

add unit test for jms config