@Test public void testSetLogTimingStrategy() throws Exception { LogTimingStrategy logTimingStrategy = mock(LogTimingStrategy.class); auditor.setLogTimingStrategy(logTimingStrategy); assertThat(getLogTimingStrategy(auditor)).isSameAs(logTimingStrategy); }
@Override public void setLogTimingStrategy(LogTimingStrategy logTimingStrategy) { this.logTimingStrategy = logTimingStrategy; }
DefaultAuditor implements Auditor { @Override public void setLogTimingStrategy(LogTimingStrategy logTimingStrategy) { this.logTimingStrategy = logTimingStrategy; } }
DefaultAuditor implements Auditor { @Override public void setLogTimingStrategy(LogTimingStrategy logTimingStrategy) { this.logTimingStrategy = logTimingStrategy; } DefaultAuditor(AuditLogger logger, AuditFilter filter, AuditObfuscator obfuscator, LogTimingStrategy logTimingStrategy);   DefaultAuditor(AuditLogger logger, AuditFilter filter, AuditObfuscator obfuscator, AuditMetrics auditMetrics, LogTimingStrategy logTimingStrategy); }
DefaultAuditor implements Auditor { @Override public void setLogTimingStrategy(LogTimingStrategy logTimingStrategy) { this.logTimingStrategy = logTimingStrategy; } DefaultAuditor(AuditLogger logger, AuditFilter filter, AuditObfuscator obfuscator, LogTimingStrategy logTimingStrategy);   DefaultAuditor(AuditLogger logger, AuditFilter filter, AuditObfuscator obfuscator, AuditMetrics auditMetrics, LogTimingStrategy logTimingStrategy); @Override void setup(); @Override void audit(AuditEntry logEntry); @Override boolean shouldLogForStatus(Status status); @Override boolean shouldLogFailedBatchSummary(); @Override void setLogTimingStrategy(LogTimingStrategy logTimingStrategy); @Override void addLogger(AuditLogger logger); @Override void removeLogger(AuditLogger logger); }
DefaultAuditor implements Auditor { @Override public void setLogTimingStrategy(LogTimingStrategy logTimingStrategy) { this.logTimingStrategy = logTimingStrategy; } DefaultAuditor(AuditLogger logger, AuditFilter filter, AuditObfuscator obfuscator, LogTimingStrategy logTimingStrategy);   DefaultAuditor(AuditLogger logger, AuditFilter filter, AuditObfuscator obfuscator, AuditMetrics auditMetrics, LogTimingStrategy logTimingStrategy); @Override void setup(); @Override void audit(AuditEntry logEntry); @Override boolean shouldLogForStatus(Status status); @Override boolean shouldLogFailedBatchSummary(); @Override void setLogTimingStrategy(LogTimingStrategy logTimingStrategy); @Override void addLogger(AuditLogger logger); @Override void removeLogger(AuditLogger logger);  }