@Test
public void testYarnSiteOptionInOutputFolder() throws Exception {

  setupFSConfigConversionFiles(true);
  FSConfigToCSConfigArgumentHandler argumentHandler =
      createArgumentHandler();
  String[] args = new String[] {
      "-y", FSConfigConverterTestCommons.YARN_SITE_XML,
      "-o", FSConfigConverterTestCommons.TEST_DIR};
  int retVal = argumentHandler.parseAndConvert(args);
  assertEquals("Return value", -1, retVal);
  assertTrue(fsTestCommons.getErrContent()
      .toString().contains("contains the yarn-site.xml"));
}