@SuppressWarnings( "deprecation" )
@Test
public void shouldBeAbleToExecuteXPathQueryWithComplexContainsCriteriaWithNoHyphenAndNoWildcard() throws RepositoryException {

    String xpath = "/jcr:root//*[jcr:contains(., '\"heavy duty\"')]";
    Query query = session.getWorkspace().getQueryManager().createQuery(xpath, Query.XPATH);
    QueryResult result = query.execute();
    // by default there is no stemming or punctuation replacement
    assertFalse(result.getRows().hasNext());
}