### Question:
BeaconChainMetrics implements SlotEventsChannel { static long getLongFromRoot(Bytes32 root) { return root.getLong(24, ByteOrder.LITTLE_ENDIAN); } BeaconChainMetrics(
      final RecentChainData recentChainData,
      final NodeSlot nodeSlot,
      final MetricsSystem metricsSystem,
      final Eth2Network p2pNetwork); @Override void onSlot(final UInt64 slot);  }### Answer:
@Test void getLongFromRoot_shouldParseNegativeOne() { assertThat(-1L).isEqualTo(BeaconChainMetrics.getLongFromRoot(root)); }
@Test void getLongFromRoot_shouldParseMaxLong() { assertThat(Long.MAX_VALUE).isEqualTo(BeaconChainMetrics.getLongFromRoot(root2)); }
@Test void getLongFromRoot_shouldParseMinLong() { assertThat(Long.MIN_VALUE).isEqualTo(BeaconChainMetrics.getLongFromRoot(root3)); }