@Test
public void extractSearchPhrase() throws Exception
{

    IndexSearchRequest indexSearchRequest = new IndexSearchRequest();
    indexSearchRequest.setSearchTerm("foo -foo bar -bar foobar");
    Assert.assertEquals("foo bar foobar", herdSearchQueryHelper.extractSearchPhrase(indexSearchRequest));
}