Here you can find the source of generateFakedDeviceTokenString()
public static String generateFakedDeviceTokenString()
//package com.java2s; import java.util.UUID; public class Main { public static String generateFakedDeviceTokenString() { final StringBuilder sb = new StringBuilder(); sb.append(UUID.randomUUID().toString()); sb.append(UUID.randomUUID().toString()); sb.append(UUID.randomUUID().toString()); return sb.toString(); }//from w ww .j a v a2 s .co m }