@Test(dependsOnMethods = {"initTokenHandler"})

public void replaceTokenWithDotNotationAbsolute() throws BadRequestException {
    String queryString = "select ${dotnotation:jsonpath} from ${unquoted:_resource} where firstname = ${firstname} and lastname like '${unquoted:lastname}%'";
    Map params = new HashMap();
    params.put("jsonpath", "/sunset/date");
    params.put("_resource", "managed/user");
    params.put("firstname", "John");
    params.put("lastname", "D");
    String result = tokenHandler.replaceTokensWithValues(queryString, params);
    assertEquals(result, "select sunset.date from managed/user where firstname = 'John' and lastname like 'D%'");
}