@Test
public void fromTopicAndPath() {

    final TopicPath topicPath = ImmutableTopicPath.of("ns", "id", TopicPath.Group.THINGS, TopicPath.Channel.TWIN,
            TopicPath.Criterion.COMMANDS, TopicPath.Action.MODIFY);
    final MessagePath messagePath = ImmutableMessagePath.of(JsonPointer.of("/policyId"));
    final DittoHeaders dittoHeaders = DittoHeaders.empty();
    final UnknownTopicPathException exception = UnknownTopicPathException.fromTopicAndPath(topicPath, messagePath, dittoHeaders);
    Assertions.assertThat(exception)
            .hasMessageContaining(topicPath.getPath())
            .hasMessageContaining(messagePath.toString());
}