@Test
public void testInvalidDigestValidation() {

    Image image = Image.newBuilder()
            .withName("imageName")
            .withDigest("sha256:XYZ")
            .build();
    Map<String, String> violations = jobAssertions.validateImage(image);
    assertThat(violations).hasSize(1);
}