@Test public void testSetupDelegation() { filter.setup(); verify(whitelistDataAccessMock, times(1)).setup(); }
@Override public void setup() { whitelistDataAccess.setup(); }
RoleAuditFilter implements AuditFilter { @Override public void setup() { whitelistDataAccess.setup(); } }
RoleAuditFilter implements AuditFilter { @Override public void setup() { whitelistDataAccess.setup(); } RoleAuditFilter(); @VisibleForTesting  RoleAuditFilter(Function<RoleResource, Set<RoleResource>> getRolesFunction, WhitelistDataAccess whitelistDataAccess, AuditFilterAuthorizer auditFilterAuthorizer); }
RoleAuditFilter implements AuditFilter { @Override public void setup() { whitelistDataAccess.setup(); } RoleAuditFilter(); @VisibleForTesting  RoleAuditFilter(Function<RoleResource, Set<RoleResource>> getRolesFunction, WhitelistDataAccess whitelistDataAccess, AuditFilterAuthorizer auditFilterAuthorizer); @Override void setup(); @Override boolean isWhitelisted(AuditEntry logEntry); }
RoleAuditFilter implements AuditFilter { @Override public void setup() { whitelistDataAccess.setup(); } RoleAuditFilter(); @VisibleForTesting  RoleAuditFilter(Function<RoleResource, Set<RoleResource>> getRolesFunction, WhitelistDataAccess whitelistDataAccess, AuditFilterAuthorizer auditFilterAuthorizer); @Override void setup(); @Override boolean isWhitelisted(AuditEntry logEntry);  }