@Test
public void testNullToken() throws IOException {

  Configuration conf = new Configuration();
  QueryStringDecoder decoder = new QueryStringDecoder(
          WebHdfsHandler.WEBHDFS_PREFIX + "/test");
  ParameterParser testParser = new ParameterParser(decoder, conf);
  Assert.assertNull(testParser.delegationToken());
}