@Test
public void tryToCreateInstanceWithNullDirection() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> MessageHeadersBuilder.newInstance(null, THING_ID, SUBJECT))
            .withMessage("The %s must not be null!", "direction")
            .withNoCause();
}