@Test
public void testConfiguration() {

  Configuration conf = new Configuration();
  conf.set(CommonConfigurationKeys.HADOOP_HTTP_STATIC_USER, "joe");
  assertEquals("joe", StaticUserWebFilter.getUsernameFromConf(conf));
}