@Deprecated
    public static void validateId(UUID id, String errorMessage) {
        if (id == null) {
            throw new IncorrectParameterException(errorMessage);
        }
    }
@Test
    void validateUUIDIdTest() {
        Validator.validateId(UUID.randomUUID(), id -> "Incorrect Id " + id);

        assertThatThrownBy(() -> Validator.validateId((UUID) null, id -> "Incorrect Id " + id))
                .as("Id is null")
                .isInstanceOf(IncorrectParameterException.class)
                .hasMessageContaining("Incorrect Id null");
    }