@Test
public void differentTypesAreNotEqual() {

    ValidationEvent a = ValidationEvent.builder()
            .message("The message")
            .severity(Severity.SUPPRESSED)
            .shapeId(ShapeId.from("ns.foo#bar"))
            .id("abc.foo")
            .build();
    assertNotEquals(a, "test");
}