@Override
    public void onChange(List<JobRunrMetadata> metadataList) {
        if (this.serversWithPollIntervalInSecondsTimeBoxTooSmallMetadataList == null || this.serversWithPollIntervalInSecondsTimeBoxTooSmallMetadataList.size() != metadataList.size()) {
            problems.removeProblemsOfType(PollIntervalInSecondsTimeBoxIsTooSmallProblem.PROBLEM_TYPE);
            if (!metadataList.isEmpty() && !problems.containsProblemOfType(CpuAllocationIrregularityProblem.PROBLEM_TYPE)) {
                problems.addProblem(new PollIntervalInSecondsTimeBoxIsTooSmallProblem(metadataList));
            }
            this.serversWithPollIntervalInSecondsTimeBoxTooSmallMetadataList = metadataList;
        }
    }
@Test
    void ifNoChangesOnPollIntervalInSecondsTimeBoxIsTooSmallThenNoProblemsCreated() {
        pollIntervalInSecondsTimeBoxIsTooSmallProblemHandler.onChange(emptyList());

        verifyNoInteractions(problems);
    }