Source:
<code>public void testContainerBuilder() throws JSONException { for (int i = 0; i < CONTAINER_COUNT; i++) { ContainerBuilder containerBuilder = new ContainerBuilder(refContainerIds.get(i), refContainerNames.get(i), refContainerStatuses.get(i), refContainerDescriptions.get(i), refAccountId).setEncrypted(refContainerEncryptionValues.get(i)) .setPreviouslyEncrypted(refContainerPreviousEncryptionValues.get(i)) .setCacheable(refContainerCachingValues.get(i)) .setMediaScanDisabled(refContainerMediaScanDisabledValues.get(i)) .setReplicationPolicy(refContainerReplicationPolicyValues.get(i)) .setTtlRequired(refContainerTtlRequiredValues.get(i)) <START> .setCloudConfigs(refContainerCloudReplicationConfigValues); <END> Container containerFromBuilder = containerBuilder.build(); assertContainer(containerFromBuilder, i); containerBuilder = new ContainerBuilder(containerFromBuilder); containerFromBuilder = containerBuilder.build(); assertContainer(containerFromBuilder, i); boolean previouslyEncrypted = containerFromBuilder.wasPreviouslyEncrypted(); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(false).build(); assertEncryptionSettings(containerFromBuilder, false, previouslyEncrypted); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(true).setEncrypted(false).build(); assertEncryptionSettings(containerFromBuilder, false, previouslyEncrypted); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(true).build(); assertEncryptionSettings(containerFromBuilder, true, true); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(false).build(); assertEncryptionSettings(containerFromBuilder, false, true); } }</code><technical_language>array of configs (just others)</technical_language>

Target:
public void testContainerBuilder() throws JSONException { for (int i = 0; i < CONTAINER_COUNT; i++) { ContainerBuilder containerBuilder = new ContainerBuilder(refContainerIds.get(i), refContainerNames.get(i), refContainerStatuses.get(i), refContainerDescriptions.get(i), refAccountId).setEncrypted(refContainerEncryptionValues.get(i)) .setPreviouslyEncrypted(refContainerPreviousEncryptionValues.get(i)) .setCacheable(refContainerCachingValues.get(i)) .setMediaScanDisabled(refContainerMediaScanDisabledValues.get(i)) .setReplicationPolicy(refContainerReplicationPolicyValues.get(i)) .setTtlRequired(refContainerTtlRequiredValues.get(i)) .setCloudConfigs(Collections.singletonList(refContainerCloudReplicationConfigValues.get(i))); Container containerFromBuilder = containerBuilder.build(); assertContainer(containerFromBuilder, i); containerBuilder = new ContainerBuilder(containerFromBuilder); containerFromBuilder = containerBuilder.build(); assertContainer(containerFromBuilder, i); boolean previouslyEncrypted = containerFromBuilder.wasPreviouslyEncrypted(); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(false).build(); assertEncryptionSettings(containerFromBuilder, false, previouslyEncrypted); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(true).setEncrypted(false).build(); assertEncryptionSettings(containerFromBuilder, false, previouslyEncrypted); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(true).build(); assertEncryptionSettings(containerFromBuilder, true, true); containerFromBuilder = new ContainerBuilder(containerFromBuilder).setEncrypted(false).build(); assertEncryptionSettings(containerFromBuilder, false, true); } }