Class DataClayMockObject


  • public final class DataClayMockObject
    extends Object
    DataClayObject class for mock tests.
    • Method Detail

      • setCurrentThreadLib

        public static void setCurrentThreadLib​(DataClayRuntime dsLib)
        Add common lib to use by current thread
        Parameters:
        threadID - Thread id
        dsLib - DS lib to use
      • removeCurrentThreadLib

        public static void removeCurrentThreadLib()
        Remove common lib to use by current thread
        Parameters:
        threadID - Thread id
      • getLib

        public static DataClayRuntime getLib()
        Get DataService client library
        Returns:
        DataService client library