@Test
public void tryToSetNullPolicyIdCharSequence() {

    assertThatExceptionOfType(PolicyIdInvalidException.class)
            .isThrownBy(() -> underTest.setId((CharSequence) null))
            .withMessage("Policy ID 'null' is not valid!");
}