@Test
@Theory
public void testNormalizeOperator(Operator operator) {

    Operator expected = null;
    switch (operator) {
    case LIKE:
        expected = Operator.REGEX;
        break;
    case NOT_LIKE:
        expected = Operator.NOT_REGEX;
        break;
    case LINKS_TO:
        expected = Operator.EQUALS;
        break;
    default:
        expected = operator;
        break;
    }
    Assert.assertEquals(expected,
            TObject.alias(operator, Array.containing()).operator());
}