@Test public void testEqualWithDifferentFailureIds() { ConstraintReportId id1 = constraintReportId("name", "failureId1"); ConstraintReportId id2 = constraintReportId("name", "failureId2"); assertThat(id1,not(equalTo(id2))); }
private ConstraintReportId() { }
ConstraintReportId implements Serializable { private ConstraintReportId() { } }
ConstraintReportId implements Serializable { private ConstraintReportId() { } private  ConstraintReportId(); private  ConstraintReportId(ResourceId resourceId, String failureId); }
ConstraintReportId implements Serializable { private ConstraintReportId() { } private  ConstraintReportId(); private  ConstraintReportId(ResourceId resourceId, String failureId); ResourceId resourceId(); String failureId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ConstraintReportId create(ResourceId resourceId, String failureId); }
ConstraintReportId implements Serializable { private ConstraintReportId() { } private  ConstraintReportId(); private  ConstraintReportId(ResourceId resourceId, String failureId); ResourceId resourceId(); String failureId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ConstraintReportId create(ResourceId resourceId, String failureId);  }