@Test
public void parse() throws TransportBindingParseException {

    assertEquals(new TransportBinding(true, false, false), TransportBinding.parse("U"));
    assertEquals(new TransportBinding(false, true, false), TransportBinding.parse("S"));
    assertEquals(new TransportBinding(true, false, true), TransportBinding.parse("UQ"));
    assertEquals(new TransportBinding(true, true, true), TransportBinding.parse("UQS"));
    assertEquals(new TransportBinding(false, true, true), TransportBinding.parse("SQ"));
    assertEquals(new TransportBinding(true, true, false), TransportBinding.parse("US"));
    assertTrue(TransportBinding.parse("SQ").isQueueMode());
    assertTrue(TransportBinding.parse("SQ").isSMS());
    assertFalse(TransportBinding.parse("SQ").isUDP());
}