Response updateResponse = connectionResource.updateConnection(createConnectionResponseDTO.getId().toString(),
updateConnectionObject);
Assert.assertEquals(200, updateResponse.getStatus());
ConnectionResponseDTO updateConnectionResponseDTO = (ConnectionResponseDTO) updateResponse.getEntity();
Assert.assertEquals(1, updateConnectionResponseDTO.getOutboundConfigurations().size());
OutboundConfigurationResponseDTO outboundConfigurationResponseDTO =
updateConnectionResponseDTO.getOutboundConfigurations().get(0);
Assert.assertEquals(testBucketName, outboundConfigurationResponseDTO.getNamespace());
Assert.assertEquals("us-west-2", outboundConfigurationResponseDTO.getDestination());
}