assertEquals("VALUE", o.getValue());
assertEquals("description", o.getText());
}
public void test___selections() {
Selection s = new SelectionImple("PESA.puulaji");
//assertEquals("pesa.puulaji", s.getName());
try {
s.get("a");
fail("Should throw exception: does not contain value");
} catch (IllegalArgumentException e) {
assertEquals("Selection pesa.puulaji does not define value 'a'.", e.getMessage());
}
}