Here you can find the source of getUniqueURIString()
public static String getUniqueURIString()
//package com.java2s; //License from project: LGPL import java.util.concurrent.atomic.AtomicLong; public class Main { private static AtomicLong uriCounter = new AtomicLong(0); /** Returns a URI unique within a test run. @return URI as a string */ public static String getUniqueURIString() { return "http://example.com/" + Long.toString(uriCounter.incrementAndGet()); }//from w w w .j ava 2 s .c o m }