@Test public void testExecute() throws Exception { String result = execute(API.generateCDepCall(environment, "show", "folders")); System.out.print(result); assertThat(result).contains("cdep"); }
@NotNull public static List<String> generateCDepCall( @NotNull GeneratorEnvironment environment, String ... args) throws MalformedURLException { List<String> result = new ArrayList<>(); result.addAll(callCDep(environment)); Collections.addAll(result, args); return result; }
API { @NotNull public static List<String> generateCDepCall( @NotNull GeneratorEnvironment environment, String ... args) throws MalformedURLException { List<String> result = new ArrayList<>(); result.addAll(callCDep(environment)); Collections.addAll(result, args); return result; } }
API { @NotNull public static List<String> generateCDepCall( @NotNull GeneratorEnvironment environment, String ... args) throws MalformedURLException { List<String> result = new ArrayList<>(); result.addAll(callCDep(environment)); Collections.addAll(result, args); return result; }  }
API { @NotNull public static List<String> generateCDepCall( @NotNull GeneratorEnvironment environment, String ... args) throws MalformedURLException { List<String> result = new ArrayList<>(); result.addAll(callCDep(environment)); Collections.addAll(result, args); return result; }  @NotNull static List<String> generateCDepCall(
      @NotNull GeneratorEnvironment environment,
      String ... args); }
API { @NotNull public static List<String> generateCDepCall( @NotNull GeneratorEnvironment environment, String ... args) throws MalformedURLException { List<String> result = new ArrayList<>(); result.addAll(callCDep(environment)); Collections.addAll(result, args); return result; }  @NotNull static List<String> generateCDepCall(
      @NotNull GeneratorEnvironment environment,
      String ... args);  }