@Test
public void invalidNameThrowsPolicyIdInvalidException() {

    assertThatExceptionOfType(PolicyIdInvalidException.class)
            .isThrownBy(() -> PolicyId.of("validNamespace", "§inValidName"));
    assertThatExceptionOfType(PolicyIdInvalidException.class)
            .isThrownBy(() -> PolicyId.of("validNamespace:§inValidName"));
}