static void validateJarPathNotNull(Path jarPath) {
        // Check that parameter is not null, because it is used to access the file
        if (Objects.isNull(jarPath)) {
            throw new JetException("File path can not be null");
        }
    }
@Test
    public void testValidateJarPathNotNull() {
        assertThatThrownBy(() -> JarOnMemberValidator.validateJarPathNotNull(null))
                .isInstanceOf(JetException.class)
                .hasMessageContaining("File path can not be null");
    }