@Test public void getCurrentUser() { when(this.bridge.getCurrentUserReference()).thenReturn(OWNER); Assert.assertSame(OWNER, this.component.getCurrentUser()); }
@Override public DocumentReference getCurrentUser() { return this.bridge.getCurrentUserReference(); }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public DocumentReference getCurrentUser() { return this.bridge.getCurrentUserReference(); } }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public DocumentReference getCurrentUser() { return this.bridge.getCurrentUserReference(); }  }
DefaultEntityAccessHelper implements EntityAccessHelper { @Override public DocumentReference getCurrentUser() { return this.bridge.getCurrentUserReference(); }  @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 DocumentReference getCurrentUser() { return this.bridge.getCurrentUserReference(); }  @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);  }