@Test public void isTimeReached_shouldReturnTrueIfBeyondEarliestTime() { assertThat(slotProcessor.isTimeReached(genesisTime, genesisTime.minus(ONE))).isTrue(); }
boolean isTimeReached(final UInt64 currentTime, final UInt64 earliestTime) { return currentTime.compareTo(earliestTime) >= 0; }
SlotProcessor { boolean isTimeReached(final UInt64 currentTime, final UInt64 earliestTime) { return currentTime.compareTo(earliestTime) >= 0; } }
SlotProcessor { boolean isTimeReached(final UInt64 currentTime, final UInt64 earliestTime) { return currentTime.compareTo(earliestTime) >= 0; } @VisibleForTesting  SlotProcessor(
      final RecentChainData recentChainData,
      final SyncService syncService,
      final ForkChoice forkChoice,
      final Eth2Network p2pNetwork,
      final SlotEventsChannel slotEventsChannelPublisher,
      final EventBus eventBus,
      final EventLogger eventLogger);  SlotProcessor(
      final RecentChainData recentChainData,
      final SyncService syncService,
      final ForkChoice forkChoice,
      final Eth2Network p2pNetwork,
      final SlotEventsChannel slotEventsChannelPublisher,
      final EventBus eventBus); }
SlotProcessor { boolean isTimeReached(final UInt64 currentTime, final UInt64 earliestTime) { return currentTime.compareTo(earliestTime) >= 0; } @VisibleForTesting  SlotProcessor(
      final RecentChainData recentChainData,
      final SyncService syncService,
      final ForkChoice forkChoice,
      final Eth2Network p2pNetwork,
      final SlotEventsChannel slotEventsChannelPublisher,
      final EventBus eventBus,
      final EventLogger eventLogger);  SlotProcessor(
      final RecentChainData recentChainData,
      final SyncService syncService,
      final ForkChoice forkChoice,
      final Eth2Network p2pNetwork,
      final SlotEventsChannel slotEventsChannelPublisher,
      final EventBus eventBus); NodeSlot getNodeSlot(); void setCurrentSlot(final UInt64 slot); void onTick(final UInt64 currentTime); }
SlotProcessor { boolean isTimeReached(final UInt64 currentTime, final UInt64 earliestTime) { return currentTime.compareTo(earliestTime) >= 0; } @VisibleForTesting  SlotProcessor(
      final RecentChainData recentChainData,
      final SyncService syncService,
      final ForkChoice forkChoice,
      final Eth2Network p2pNetwork,
      final SlotEventsChannel slotEventsChannelPublisher,
      final EventBus eventBus,
      final EventLogger eventLogger);  SlotProcessor(
      final RecentChainData recentChainData,
      final SyncService syncService,
      final ForkChoice forkChoice,
      final Eth2Network p2pNetwork,
      final SlotEventsChannel slotEventsChannelPublisher,
      final EventBus eventBus); NodeSlot getNodeSlot(); void setCurrentSlot(final UInt64 slot); void onTick(final UInt64 currentTime);  }