@Test public void isUserWithSomeDoc() { Assert.assertFalse(this.component.isUser(COLLABORATOR)); }
@Override public boolean isUser(@Nullable final EntityReference userOrGroup) { return USER_LABEL.equals(getType(userOrGroup)); }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public boolean isUser(@Nullable final EntityReference userOrGroup) { return USER_LABEL.equals(getType(userOrGroup)); } }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public boolean isUser(@Nullable final EntityReference userOrGroup) { return USER_LABEL.equals(getType(userOrGroup)); }  }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public boolean isUser(@Nullable final EntityReference userOrGroup) { return USER_LABEL.equals(getType(userOrGroup)); }  @Override DocumentReference getCurrentUser(); @Nonnull @Override String getType(@Nullable EntityReference userOrGroup); @Override boolean isGroup(@Nullable final EntityReference userOrGroup); @Override boolean isUser(@Nullable final EntityReference userOrGroup); @Nonnull @Override Document getDocument(EntityReference userOrGroup); @Nullable @Override String getStringProperty(
        @Nonnull final XWikiDocument doc,
        @Nullable final DocumentReference classReference,
        @Nullable final String propertyName); @Override void setProperty(
        @Nonnull final XWikiDocument doc,
        @Nullable final DocumentReference classReference,
        @Nullable final String propertyName,
        @Nullable final Object propertyValue); }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public boolean isUser(@Nullable final EntityReference userOrGroup) { return USER_LABEL.equals(getType(userOrGroup)); }  @Override DocumentReference getCurrentUser(); @Nonnull @Override String getType(@Nullable EntityReference userOrGroup); @Override boolean isGroup(@Nullable final EntityReference userOrGroup); @Override boolean isUser(@Nullable final EntityReference userOrGroup); @Nonnull @Override Document getDocument(EntityReference userOrGroup); @Nullable @Override String getStringProperty(
        @Nonnull final XWikiDocument doc,
        @Nullable final DocumentReference classReference,
        @Nullable final String propertyName); @Override void setProperty(
        @Nonnull final XWikiDocument doc,
        @Nullable final DocumentReference classReference,
        @Nullable final String propertyName,
        @Nullable final Object propertyValue);  }