@Test
public void testBuildBadArgs() throws FlumeSpecException {

  try {
    // too many arguments
    FlumeBuilder.buildSink(new Context(), "console(1,2,3,4,5,6)");
  } catch (FlumeSpecException e) {
    System.out.println(e);
    return;// we expected this exception to be thrown.
  }
  fail("should have thrown exception");
}