public static RestartReasons needsRollingRestart(StrimziPodSet podSet, Pod pod) {
        if (PodRevision.hasChanged(pod, podSet)) {
            return RestartReasons.of(RestartReason.POD_HAS_OLD_REVISION);
        } else {
            return RestartReasons.empty();
        }
    }
@Test
    public void testRegularRollingUpdate()   {
        Pod pod1 = new PodBuilder()
                .withNewMetadata()
                    .withName("name")
                    .withAnnotations(Map.of(PodRevision.STRIMZI_REVISION_ANNOTATION, "avfc1874"))
                .endMetadata()
                .build();

        Pod pod2 = new PodBuilder()
                .withNewMetadata()
                    .withName("name")
                    .withAnnotations(Map.of(PodRevision.STRIMZI_REVISION_ANNOTATION, "skso1919"))
                .endMetadata()
                .build();

        StrimziPodSet podSet = new StrimziPodSetBuilder()
                .withNewMetadata()
                    .withName("name")
                .endMetadata()
                .withNewSpec()
                    .withPods(PodSetUtils.podToMap(pod1))
                .endSpec()
                .build();

        assertThat(KafkaConnectRoller.needsRollingRestart(podSet, pod1).shouldRestart(), is(false));
        assertThat(KafkaConnectRoller.needsRollingRestart(podSet, pod2).shouldRestart(), is(true));
    }