@Test
public void testRefreshAll() throws IOException, FlumeSpecException {

  ConfigurationManager parent = new ConfigManager();
  ConfigurationManager self = new ConfigManager();
  ConfigurationManager trans = new NullDecoTranslator(parent, self);
  trans.setConfig("foo", DEFAULTFLOW, "null", "null");
  trans.refreshAll();
  FlumeConfigData transData = trans.getConfig("foo");
  assertEquals("null", transData.getSourceConfig());
  assertEquals("{ nullDeco => null }", transData.getSinkConfig());
  FlumeConfigData selfData = self.getConfig("foo");
  assertEquals("null", selfData.getSourceConfig());
  assertEquals("{ nullDeco => null }", selfData.getSinkConfig());
  FlumeConfigData origData = parent.getConfig("foo");
  assertEquals("null", origData.getSourceConfig());
  assertEquals("null", origData.getSinkConfig());
}