public class OptionModelImplTest extends Assert
{
@Test
public void basics()
{
OptionModel model = new OptionModelImpl("Label", this);
assertEquals(model.getLabel(), "Label");
assertFalse(model.isDisabled());
assertSame(model.getValue(), this);
assertNull(model.getAttributes());
model = new OptionModelImpl("Fred", "fred");
assertEquals(model.toString(), "OptionModel[Fred fred]");
}