EntityVisibility implements Serializable { public boolean isNotNone() { return value != NONE; } private  EntityVisibility(Visibility value); static Optional<EntityVisibility> of(Class<? extends EntityState> stateClass); boolean canSubscribe(); boolean canQuery(); boolean isNotNone(); boolean is(Visibility visibility); boolean isAsLeast(Visibility visibility); @Override String toString();  }
@Test @DisplayName("report NONE level for `Aggregate`s by default") void aggregateDefaults() { EntityVisibility actual = assertVisibility(Password.class, NONE); assertFalse(actual.isNotNone()); }
@Test @DisplayName("report NONE level for `Process Manager`s by default") void pmDefaults() { EntityVisibility actual = assertVisibility(UserSignIn.class, NONE); assertFalse(actual.isNotNone()); }
@Test @DisplayName("report FULL level for `Projection`s by default") void projectionDefaults() { EntityVisibility actual = assertVisibility(UserFeed.class, FULL); assertTrue(actual.isNotNone()); }