@Test public void testIsSystemUser() { User delegate = mock(User.class); UserFacade facade = getFacade(delegate); when(delegate.isSystemUser()).thenReturn(true); assertTrue("is true", facade.isSystemUser()); }
@Override public boolean isSystemUser() { return delegate.isSystemUser(); }
UserFacade extends AuthorizableFacade<User> implements User { @Override public boolean isSystemUser() { return delegate.isSystemUser(); } }
UserFacade extends AuthorizableFacade<User> implements User { @Override public boolean isSystemUser() { return delegate.isSystemUser(); } @SuppressWarnings("WeakerAccess")  UserFacade(final @NotNull User delegate); }
UserFacade extends AuthorizableFacade<User> implements User { @Override public boolean isSystemUser() { return delegate.isSystemUser(); } @SuppressWarnings("WeakerAccess")  UserFacade(final @NotNull User delegate); @Override boolean isAdmin(); @Override boolean isSystemUser(); @Override Credentials getCredentials(); @Override Impersonation getImpersonation(); @Override boolean isDisabled(); @Override String getDisabledReason(); @Override void disable(final String reason); @Override void changePassword(final String password); @Override void changePassword(final String password, final String oldPassword); }
UserFacade extends AuthorizableFacade<User> implements User { @Override public boolean isSystemUser() { return delegate.isSystemUser(); } @SuppressWarnings("WeakerAccess")  UserFacade(final @NotNull User delegate); @Override boolean isAdmin(); @Override boolean isSystemUser(); @Override Credentials getCredentials(); @Override Impersonation getImpersonation(); @Override boolean isDisabled(); @Override String getDisabledReason(); @Override void disable(final String reason); @Override void changePassword(final String password); @Override void changePassword(final String password, final String oldPassword);  }