@Test
public void tryToGetPolicyResourceWithNullResourcePath() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> PoliciesResourceType.policyResource(null))
            .withMessage("The %s must not be null!", "resource path")
            .withNoCause();
}