  @Test
  public void testParserComplexFilter() {

    String text = "install_status != 7 ^ install_status != 8 ^ ci.sys_class_name = u_notebook_pc ^OR ci.sys_class_name = u_tablet_pc ^OR ci.sys_class_name = u_thin_client_pc ^OR ci.sys_class_name = cmdb_ci_desktop_pc ^OR ci.sys_class_name = u_computer_pc ^OR ci.sys_class_name = u_cmdb_virtual_pc ^ ci.u_compensation_code STARTSWITH 8";
    try {
      SnowFilter filter = FilterParser.parse(text);
      assertNotNull(filter);
      assertEquals(filter.clauseCount(), 9);
      System.out.println(filter.toString());
    } catch (StringParseException e) {
      fail("failed to parse '" + text + "' - " + e.getMessage());
    }
  }