Objective implements Comparable<Objective> { public Sign getSign() { return sign; } Objective(String name);  Objective(String name, Sign sign); Sign getSign(); String getName(); @Override int compareTo(Objective other); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static final Value<?> INFEASIBLE; }
@Test public void getSignTest() { Objective o = new Objective("obj", Sign.MAX); Assert.assertEquals(Sign.MAX, o.getSign()); }