    @Test
    public void should_convertStringToDate_when_stringRepresentsADateWithTimeInCreateTaskVariablePayload() {

        //given
        CreateTaskVariablePayload payload = TaskPayloadBuilder.createVariable()
                .withVariable("date",
                              "1970-01-01T01:01:01.001Z")
                .build();
        //calculate number of milliseconds after 1970-01-01T00:00:00.000Z
        long time = Duration.ofHours(1).toMillis() + Duration.ofMinutes(1).toMillis() + Duration.ofSeconds(1).toMillis() + 1;

        //when
        CreateTaskVariablePayload handledVariablePayload = taskVariablesPayloadValidator.handleCreateTaskVariablePayload(payload);

        //then
        assertThat(handledVariablePayload.getValue()).isEqualTo(new Date(time));
    }