@Test
public void tryToGetInstanceWithNullValue() {

    assertThatNullPointerException()
            .isThrownBy(() -> DefaultEntityType.of(null))
            .withMessage("The value must not be null!")
            .withNoCause();
}