public virtual void TestConfiguration()
        {
            Configuration conf = new Configuration();

            conf.Set(CommonConfigurationKeys.HadoopHttpStaticUser, "joe");
            Assert.Equal("joe", StaticUserWebFilter.GetUsernameFromConf(conf
                                                                        ));
        }
        public virtual void TestOldStyleConfiguration()
        {
            Configuration conf = new Configuration();

            conf.Set("dfs.web.ugi", "joe,group1,group2");
            Assert.Equal("joe", StaticUserWebFilter.GetUsernameFromConf(conf
                                                                        ));
        }