@Test
public void testFlex() {

  String appName = "example-app";
  HashMap<String, String> componentCounts = new HashMap<String, String>();
  try {
    int result = asc.actionFlex(appName, componentCounts);
    assertEquals(EXIT_SUCCESS, result);
  } catch (IOException | YarnException e) {
    fail();
  }
}