@Test
public void testFilterOptionsForConstraintTypeLiteralWhenConstraintValueIsLiteral() {

    when(plugin.constraintValue()).thenReturn(BaseSingleFieldConstraint.TYPE_LITERAL);
    final String[] result = page.filterOptionsForConstraintTypeLiteral(OperatorsOracle.EXPLICIT_LIST_OPERATORS);
    final List<String> operators = Arrays.asList(result);
    assertTrue(operators.contains("in"));
    assertTrue(operators.contains("not in"));
    assertEquals(2,
                 operators.size());
}