assert !one.equals(two);
assert one.hashCode() != two.hashCode();
}
public void testHistoryJobIdEquals() {
HistoryJobId one;
HistoryJobId two;
one = new HistoryJobId("name", "group", 1);
assert one.equals(one);
assert one.getJobName().equals("name");
assert one.getJobGroup().equals("group");
assert one.getCreatedTime() == 1;
one = new HistoryJobId("name", "group", 1);
two = new HistoryJobId("name", "group", 1);
assert one != two;
assert one.getJobName().equals(two.getJobName());
assert one.getJobGroup().equals(two.getJobGroup());
assert one.getCreatedTime() == two.getCreatedTime();
assert one.equals(two);
assert one.hashCode() == two.hashCode();
two = new HistoryJobId("nameX", "group", 1);
assert one != two;
assert !one.equals(two);
assert one.hashCode() != two.hashCode();
two = new HistoryJobId("name", "groupX", 1);
assert one != two;
assert !one.equals(two);
assert one.hashCode() != two.hashCode();
two = new HistoryJobId("name", "group", 2);
assert one != two;
assert !one.equals(two);
assert one.hashCode() != two.hashCode();
one = new HistoryJobId("nameX", "group", 1);
two = new HistoryJobId("name", "group", 1);
assert one != two;
assert !one.equals(two);
assert one.hashCode() != two.hashCode();
one = new HistoryJobId("name", "groupX", 1);
assert one != two;
assert !one.equals(two);
assert one.hashCode() != two.hashCode();
one = new HistoryJobId("name", "group", 2);
assert one != two;
assert !one.equals(two);
assert one.hashCode() != two.hashCode();
}