}
}
@Override
public void verify( ElementDescriptor descriptor, boolean expectedOutcome ) {
ElementStub element = find( descriptor );
if ( StringUtils.equalsIgnoreCase( CHOSEN, descriptor.getValue() ) || StringUtils.startsWithIgnoreCase(
CheckboxElementHandler.CHECKED, descriptor.getValue() ) ) {
assertEquals( expectedOutcome, element.checked() );
}
else {
assertNotEquals( expectedOutcome, element.checked() );
}
}