SelectOption implements Comparable<SelectOption> { public String getValue() { return value; } SelectOption(String value, String text); String getText(); String getValue(); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(SelectOption other); @Override String toString();  }
@Test public void testGetValue() { assertThat(instance.getValue(), equalTo(value)); }