@Test
public void correctWidgetForStringFieldValueNotInList() {

    when(constraint.getOperator()).thenReturn("not in");
    ConstraintValueEditor editor = createEditor(constraint);
    assertTrue(editor.getConstraintWidget() instanceof LiteralTextBox);
}