ClusterNodeInfoDocument extends Document { public boolean isInvisible() { Boolean invisible = (Boolean) get(ClusterNodeInfo.INVISIBLE); return invisible != null ? invisible : false; }  long getCreated(); long getLeaseEndTime(); long getStartTime(); boolean isActive(); boolean isBeingRecovered(); boolean isRecoveryNeeded(long currentTimeMillis); boolean isBeingRecoveredBy(int clusterId); @Nullable Long getRecoveryBy(); int getClusterId(); @Override String toString(); static List<ClusterNodeInfoDocument> all(DocumentStore store); String getLastWrittenRootRev(); boolean isInvisible();  }
@Test public void invisibleTrue() { assertFalse(createInactive(true).isInvisible()); }
@Test public void invisibleFalse() { assertFalse(createInactive(false).isInvisible()); }