@Test
public void parseFeatureId() {

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