@Override
  public void writeMine(NodeHealth nodeHealth) {
    requireNonNull(nodeHealth, "nodeHealth can't be null");

    Map<UUID, TimestampedNodeHealth> sqHealthState = readReplicatedMap();
    if (LOG.isTraceEnabled()) {
      LOG.trace("Reading {} and adding {}", new HashMap<>(sqHealthState), nodeHealth);
    }
    sqHealthState.put(hzMember.getUuid(), new TimestampedNodeHealth(nodeHealth, hzMember.getClusterTime()));
  }
@Test
  public void write_fails_with_NPE_if_arg_is_null() {
    assertThatThrownBy(() -> underTest.writeMine(null))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("nodeHealth can't be null");
  }