test_class.file: restx-common/src/test/java/restx/common/ThreadLocalMillisProviderTest.java
test_class.identifier: ThreadLocalMillisProviderTest
test_case.body: @Test
      public void should_return_system_time_in_other_thread() throws Exception {
          final long now = System.currentTimeMillis();
          ThreadLocalMillisProvider.setCurrentMillisFixed(now);
  
          Thread.sleep(10);
          final long[] fromOtherThread = new long[1];
          collectCurrentTimeInThread(fromOtherThread, 0).join();
          assertThat(fromOtherThread[0]).isNotEqualTo(now).isNotEqualTo(0);
      }
test_case.class_method_signature: ThreadLocalMillisProviderTest.should_return_system_time_in_other_thread()
test_case.full_signature: @Test public void should_return_system_time_in_other_thread()
test_case.identifier: should_return_system_time_in_other_thread
test_case.invocations: currentTimeMillis setCurrentMillisFixed sleep join collectCurrentTimeInThread isNotEqualTo isNotEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_return_system_time_in_other_thread()
focal_class.declarator: systemMillisProvider = new DateTimeUtils.MillisProvider() {
          @Override
          public long getMillis() {
              return System.currentTimeMillis();
          }
      }
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeUtils.MillisProvider systemMillisProvider = new DateTimeUtils.MillisProvider() {
          @Override
          public long getMillis() {
              return System.currentTimeMillis();
          }
      };
focal_class.type: DateTimeUtils.MillisProvider
focal_class.var_name: systemMillisProvider
focal_class.declarator: local
              = new ThreadLocal<DateTimeUtils.MillisProvider>() {
          @Override
          protected DateTimeUtils.MillisProvider initialValue() {
              return systemMillisProvider;
          }
      }
focal_class.modifier: private static final
focal_class.original_string: private static final ThreadLocal<DateTimeUtils.MillisProvider> local
              = new ThreadLocal<DateTimeUtils.MillisProvider>() {
          @Override
          protected DateTimeUtils.MillisProvider initialValue() {
              return systemMillisProvider;
          }
      };
focal_class.type: ThreadLocal<DateTimeUtils.MillisProvider>
focal_class.var_name: local
focal_class.declarator: INSTANCE = new ThreadLocalMillisProvider()
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeUtils.MillisProvider INSTANCE = new ThreadLocalMillisProvider();
focal_class.type: DateTimeUtils.MillisProvider
focal_class.var_name: INSTANCE
focal_class.file: restx-common/src/main/java/restx/common/ThreadLocalMillisProvider.java
focal_class.identifier: ThreadLocalMillisProvider
focal_class.interfaces: implements DateTimeUtils.MillisProvider
focal_class.class_method_signature: ThreadLocalMillisProvider.setCurrentMillisSystem()
focal_class.full_signature: public static final void setCurrentMillisSystem()
focal_class.identifier: setCurrentMillisSystem
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setCurrentMillisSystem()
focal_class.class_method_signature: ThreadLocalMillisProvider.setCurrentMillisFixed(long fixedMillis)
focal_class.full_signature: public static final void setCurrentMillisFixed(long fixedMillis)
focal_class.identifier: setCurrentMillisFixed
focal_class.modifiers: public static final
focal_class.parameters: (long fixedMillis)
focal_class.return: void
focal_class.signature: void setCurrentMillisFixed(long fixedMillis)
focal_class.class_method_signature: ThreadLocalMillisProvider.setCurrentMillisOffset(long offsetMillis)
focal_class.full_signature: public static final void setCurrentMillisOffset(long offsetMillis)
focal_class.identifier: setCurrentMillisOffset
focal_class.modifiers: public static final
focal_class.parameters: (long offsetMillis)
focal_class.return: void
focal_class.signature: void setCurrentMillisOffset(long offsetMillis)
focal_class.class_method_signature: ThreadLocalMillisProvider.setCurrentMillisProvider(DateTimeUtils.MillisProvider millisProvider)
focal_class.full_signature: public static final void setCurrentMillisProvider(DateTimeUtils.MillisProvider millisProvider)
focal_class.identifier: setCurrentMillisProvider
focal_class.modifiers: public static final
focal_class.parameters: (DateTimeUtils.MillisProvider millisProvider)
focal_class.return: void
focal_class.signature: void setCurrentMillisProvider(DateTimeUtils.MillisProvider millisProvider)
focal_class.class_method_signature: ThreadLocalMillisProvider.clear()
focal_class.full_signature: public static void clear()
focal_class.identifier: clear
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: ThreadLocalMillisProvider.current()
focal_class.full_signature: public static DateTimeUtils.MillisProvider current()
focal_class.identifier: current
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: DateTimeUtils.MillisProvider
focal_class.signature: DateTimeUtils.MillisProvider current()
focal_class.class_method_signature: ThreadLocalMillisProvider.install()
focal_class.full_signature: private static void install()
focal_class.identifier: install
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void install()
focal_class.class_method_signature: ThreadLocalMillisProvider.ThreadLocalMillisProvider()
focal_class.full_signature: private  ThreadLocalMillisProvider()
focal_class.identifier: ThreadLocalMillisProvider
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ThreadLocalMillisProvider()
focal_class.class_method_signature: ThreadLocalMillisProvider.getMillis()
focal_class.full_signature: @Override public long getMillis()
focal_class.identifier: getMillis
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getMillis()
focal_method.body: public static final void setCurrentMillisFixed(long fixedMillis) throws SecurityException {
          install();
          local.set(new FixedMillisProvider(fixedMillis));
      }
focal_method.class_method_signature: ThreadLocalMillisProvider.setCurrentMillisFixed(long fixedMillis)
focal_method.full_signature: public static final void setCurrentMillisFixed(long fixedMillis)
focal_method.identifier: setCurrentMillisFixed
focal_method.invocations: install set
focal_method.modifiers: public static final
focal_method.parameters: (long fixedMillis)
focal_method.return: void
focal_method.signature: void setCurrentMillisFixed(long fixedMillis)