    @Test
    public void shouldGetListenerContainer() {

        ListenerContainerFactory factory = new ListenerContainerFactory(mockConnectionFactory);
        AbstractMessageListenerContainer container = factory.getListenerContainer("testTopic", "testSubscription");
        assertThat(container.getConnectionFactory()).isEqualTo(mockConnectionFactory);
        assertThat(container.getDestinationName()).isEqualTo("testTopic");
        assertThat(container.isPubSubDomain()).isTrue();
        assertThat(container.getSubscriptionName()).isEqualTo("testSubscription");
        assertThat(container.isSessionTransacted()).isTrue();
        assertThat(container.isSubscriptionDurable()).isTrue();
        assertThat(container.isSubscriptionShared()).isTrue();
    }