@Test
public void shouldCreate() {

    Map<String, String> connectionSettings = new HashMap<>();
    connectionSettings.put("type", ActiveMQConnectionFactory.class.getName());
    ConnectionFactory connectionFactory = connectionFactoryCreator.create(connectionSettings);
    Assertions.assertThat(ActiveMQConnectionFactory.class).isEqualTo(connectionFactory.getClass());
    Assertions.assertThat(ActiveMQConnectionFactory.DEFAULT_BROKER_URL).isEqualTo(((ActiveMQConnectionFactory)connectionFactory).getBrokerURL());
}