public void testExtractDeployInputFields()

in javatests/com/google/cloud/deploymentmanager/autogen/SoyFunctionsTest.java [384:410]


  public void testExtractDeployInputFields() {
    DeployInputField domain = buildStringBoxInput("domain");
    DeployInputField email = buildStringBoxInput("email");
    DeployInputField username = buildStringBoxInput("username");
    DeployInputField additionalDisks = buildIntegerBoxInput("additional-disks");

    DeployInputSection mainSection = buildInputSection("Main", MAIN, domain);
    DeployInputSection userDataSection =
        buildInputSection("User data", MAIN, email, username);
    DeployInputSection otherSection =
        buildInputSection("Other", CUSTOM_BOTTOM, additionalDisks);

    DeployInputSpec inputSpec = DeployInputSpec.newBuilder()
        .addSections(mainSection)
        .addSections(userDataSection)
        .addSections(otherSection)
        .build();

    List<SoyValue> allFields = ImmutableList.of(
        toSoyValue(domain),
        toSoyValue(email),
        toSoyValue(username),
        toSoyValue(additionalDisks));

    assertFunctionCall(listDeployInputFields, inputSpec)
        .hasIterableResultThat().containsExactlyElementsIn(allFields);
  }