@Test public void testEqualOnlyToOtherIds() { ConstraintReportId id = constraintReportId("name", "failureId"); assertThat((Object)id,not(equalTo((Object)"another type"))); }
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);  }