@Test
public void parsePhrase() throws Exception {

  SearchTokenizer tokenizer = new SearchTokenizer();
  List<SearchQueryToken> result;
  assertQuery("abc AND \"x-y_z\" AND olingo");
  //
  result = tokenizer.tokenize("\"abc\"");
  Assert.assertNotNull(result);
  Assert.assertEquals(PHRASE, result.get(0).getToken());
  //
  result = tokenizer.tokenize("\"9988  abs\"");
  Assert.assertNotNull(result);
  Assert.assertEquals(PHRASE, result.get(0).getToken());
  Assert.assertEquals("\"9988  abs\"", result.get(0).getLiteral());
  //
  result = tokenizer.tokenize("\"99_88.\"");
  Assert.assertNotNull(result);
  Assert.assertEquals(PHRASE, result.get(0).getToken());
  Assert.assertEquals("\"99_88.\"", result.get(0).getLiteral());
  assertQuery("abc or \"xyz\"").resultsIn(WORD, WORD, PHRASE);
}