@Test(expected = ConfigurationException.class)
public void testFLUME1847() throws Exception {

  Context context = new Context();
  context.put("type", "something");
  SourceConfiguration sourceConfig = new SourceConfiguration("src");
  sourceConfig.configure(context);
}