@Test
public void testConvertToActiveMQDestination() {

    List<ActiveMQDestination> result = StringToListOfActiveMQDestinationConverter.convertToActiveMQDestination("");
    assertNull(result);
    result = StringToListOfActiveMQDestinationConverter.convertToActiveMQDestination("[]");
    assertNull(result);
    result = StringToListOfActiveMQDestinationConverter.convertToActiveMQDestination("[  ]");
    assertNull(result);
    result = StringToListOfActiveMQDestinationConverter.convertToActiveMQDestination("[one,two,three]");
    assertNotNull(result);
    assertEquals(3, result.size());
    result = StringToListOfActiveMQDestinationConverter.convertToActiveMQDestination("[one, two, three  ]");
    assertNotNull(result);
    assertEquals(3, result.size());
}