@Test public void testSetupDelegation() { whitelistManager.setup(); verify(mockWhitelistDataAccess, times(1)).setup(); }
public void setup() { whitelistDataAccess.setup(); }
AuditWhitelistManager { public void setup() { whitelistDataAccess.setup(); } }
AuditWhitelistManager { public void setup() { whitelistDataAccess.setup(); } AuditWhitelistManager(); @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess); }
AuditWhitelistManager { public void setup() { whitelistDataAccess.setup(); } AuditWhitelistManager(); @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess); void setup(); }
AuditWhitelistManager { public void setup() { whitelistDataAccess.setup(); } AuditWhitelistManager(); @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess); void setup();  }