code: private void updateMongoElements(String serverPlaceholder, ExternalTestService mongoService) {
          Integer[] port = { Integer.valueOf(mongoService.getPort()) };
          for (MongoElement mongo : mongoElements.get(serverPlaceholder)) {
              mongo.setHostNames(mongoService.getAddress());
              mongo.setPorts(port);
  
              String user = mongo.getUser();
              if (user != null) {
                  String replacementPassword = mongoService.getProperties().get(user + "_password");
                  if (replacementPassword != null) {
                      mongo.setPassword(replacementPassword);
                  }
              }
          }
      }
docs: For the mongo elements containing the given placeholder value, the host and port placeholder values in the mongo element are replaced with an actual host and port of an
  available mongo server.
  
  @param availableMongoServer