@Test
public void parseDirection() {

    assertDirection("/outbox/message/ask").contains(FROM);
    assertDirection("/attributes/hello").isEmpty();
    assertDirection("/features/water-tank/properties/temperature").isEmpty();
    assertDirection("/features/water-tank/inbox/messages/heatUp").contains(TO);
}