@Test
public void shouldParseGeneralComp() {

    assertThat(parser.parseGeneralComp(tokenize("!=")), is(Operator.NOT_EQUAL_TO));
    assertThat(parser.parseGeneralComp(tokenize("=")), is(Operator.EQUAL_TO));
    assertThat(parser.parseGeneralComp(tokenize("<")), is(Operator.LESS_THAN));
    assertThat(parser.parseGeneralComp(tokenize("<=")), is(Operator.LESS_THAN_OR_EQUAL_TO));
    assertThat(parser.parseGeneralComp(tokenize(">")), is(Operator.GREATER_THAN));
    assertThat(parser.parseGeneralComp(tokenize(">=")), is(Operator.GREATER_THAN_OR_EQUAL_TO));
    assertThat(parser.parseGeneralComp(tokenize("<5")), is(Operator.LESS_THAN));
    assertThat(parser.parseGeneralComp(tokenize(">5")), is(Operator.GREATER_THAN));
}