Class RandomHelper

java.lang.Object
com.verisign.epp.codec.change.util.RandomHelper

public class RandomHelper extends Object
This class knows how to construct a random command or response facilitating the random unit test framework.
  • Constructor Details

    • RandomHelper

      public RandomHelper()
  • Method Details

    • getChangeAction

      public static EPPChangeAction getChangeAction()
    • getChangeCheckCmd

      public static EPPChangeCheckCmd getChangeCheckCmd()
    • getChangeCheckData

      public static EPPChangeCheckData getChangeCheckData()
    • getChangeCheckResp

      public static EPPChangeCheckResp getChangeCheckResp(String aClientTransId)
    • getChangeCreateCmd

      public static EPPChangeCreateCmd getChangeCreateCmd()
    • getChangeDeleteCmd

      public static EPPChangeDeleteCmd getChangeDeleteCmd()
    • getChangeInfoCmd

      public static EPPChangeInfoCmd getChangeInfoCmd()
    • getChangeInfoResp

      public static EPPChangeInfoResp getChangeInfoResp(String aClientTransId)
    • getChangeUpdateAttributes

      public static EPPChangeUpdateAttributes getChangeUpdateAttributes()
    • getChangeUpdateCmd

      public static EPPChangeUpdateCmd getChangeUpdateCmd()
    • getChangeUpdateResp

      public static EPPChangeUpdateResp getChangeUpdateResp(String aClientTransId)
    • getChangeUpdateSubmitResp

      public static EPPChangeUpdateResp getChangeUpdateSubmitResp(String aClientTransId)
    • getChangeUpdateEmptyResp

      public static EPPChangeUpdateResp getChangeUpdateEmptyResp(String aClientTransId)
    • getDate

      public static Date getDate()
    • getDefinition

      public static String getDefinition()
    • getDescription

      public static String getDescription()
    • getEppResponse

      public static EPPResponse getEppResponse(String aClientTransId)
      Gets an EPPResponse with the supplied client transaction identifier and a constant server transaction identifier.
      Parameters:
      aClientTransId - Client transaction identifier if exists; null otherwise.
      Returns:
      EPPResponse constructed from supplied client transaction identifier and a constant server transaction identifier.
    • getInt

      public static int getInt()
    • getInt

      public static int getInt(int r)
    • getInt

      public static int getInt(int n, int r)
    • getLabel

      public static String getLabel()
    • getLong

      public static long getLong()
    • getLong

      public static long getLong(long r)
    • getLong

      public static long getLong(long n, long r)
    • getCategories

      public static List getCategories()
    • getReceipt

      public static String getReceipt()
    • getStatus

      public static String getStatus()
    • getPriority

      public static String getPriority()
    • getTransId

      public static String getTransId()
    • p

      public static boolean p(double d)
    • reset

      public static void reset()
    • reset

      public static void reset(long seed)