GetVariables implements Output<Map<String, Object>> { public List<String> getVariableNames() { return variableNames; }  List<String> getVariableNames(); void setVariableNames(final List<String> variableNames); @Override Map<String, String> getOptions(); @Override void setOptions(final Map<String, String> options); @Override TypeReference<Map<String, Object>> getOutputTypeReference(); @Override GetVariables shallowClone();  }
@Test @Override public void builderShouldCreatePopulatedOperation() { GetVariables getVariablesOp = new GetVariables.Builder() .variableNames(variableNames) .build(); assertEquals(3, getVariablesOp.getVariableNames().size()); assertTrue(getVariablesOp.getVariableNames().containsAll(variableNames)); }