private URL getContainerHostForURL(String streamName, ModuleType moduleType) {
        URL result = null;
        try {
            result = new URL("http://"
                    + getContainerHostForModulePrefix(streamName, moduleType) + ":" + adminServer.getPort());
        }
        catch (MalformedURLException e) {
            throw new IllegalStateException(e.getMessage(), e);
        }
        return result;
    }
Finds the container URL where the module is deployed with the stream name & module type

@param streamName The name of the stream that the module is deployed
@param moduleType The type of module that we are seeking
@return the container url.
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/fixtures/ContainerResolver.java