@Test
public void testMissingYarnSiteXmlArgument() throws Exception {

  setupFSConfigConversionFiles(true);
  FSConfigToCSConfigArgumentHandler argumentHandler =
      createArgumentHandler();
  String[] args = new String[] {"-o",
      FSConfigConverterTestCommons.OUTPUT_DIR};
  int retVal = argumentHandler.parseAndConvert(args);
  assertEquals("Return value", -1, retVal);
  assertTrue("Error content missing", fsTestCommons.getErrContent()
      .toString().contains("Missing yarn-site.xml parameter"));
}