@Test
public void fromCharSequenceWithUnsupportedEntityTypeThrowsException() {

    assertThatThrownBy(() -> ReferencePlaceholder.fromCharSequence("{{ref:topologies/namespace:thingid/policyId}}"))
            .isInstanceOf(GatewayPlaceholderReferenceNotSupportedException.class);
}