@Test
public void testTwoSegments() {

    ThingUID subject = new ThingUID("fake", "thing");
    assertEquals("fake", subject.getBindingId());
    assertEquals("thing", subject.getId());
    assertThat(subject.getAllSegments(), hasSize(3));
    assertEquals("fake::thing", subject.getAsString());
}