@Test
public void tryToGetInstanceWithEmptyNamespace() {

    assertThatIllegalArgumentException()
            .isThrownBy(() -> PurgeNamespaceReason.of(""))
            .withMessageContaining("namespace")
            .withMessageContaining("not be empty")
            .withNoCause();
}