@Test public void testCreateProviderFromAuditorArray() { MultiProviderAuditorProvider provider = new MultiProviderAuditorProvider(new Auditor[] {new NoOpAuditor(), new LoggingAuditor()}); assertNotNull(provider); assertNotNull(provider.get()); assertTrue(provider.get() instanceof MultiProviderAuditor); }
@Override public Auditor get() { return new MultiProviderAuditor(auditors); }
MultiProviderAuditorProvider implements Provider<Auditor> { @Override public Auditor get() { return new MultiProviderAuditor(auditors); } }
MultiProviderAuditorProvider implements Provider<Auditor> { @Override public Auditor get() { return new MultiProviderAuditor(auditors); } MultiProviderAuditorProvider(Auditor[] auditors);  MultiProviderAuditorProvider(Provider<Auditor>[] providers); }
MultiProviderAuditorProvider implements Provider<Auditor> { @Override public Auditor get() { return new MultiProviderAuditor(auditors); } MultiProviderAuditorProvider(Auditor[] auditors);  MultiProviderAuditorProvider(Provider<Auditor>[] providers); @Override Auditor get(); }
MultiProviderAuditorProvider implements Provider<Auditor> { @Override public Auditor get() { return new MultiProviderAuditor(auditors); } MultiProviderAuditorProvider(Auditor[] auditors);  MultiProviderAuditorProvider(Provider<Auditor>[] providers); @Override Auditor get();  }