@Test public void testDropWhitelist() { whitelistManager.dropRoleWhitelist(role); verify(mockWhitelistDataAccess, times(1)).deleteWhitelist(eq(role)); }
void dropRoleWhitelist(RoleResource role) { whitelistDataAccess.deleteWhitelist(role); }
AuditWhitelistManager { void dropRoleWhitelist(RoleResource role) { whitelistDataAccess.deleteWhitelist(role); } }
AuditWhitelistManager { void dropRoleWhitelist(RoleResource role) { whitelistDataAccess.deleteWhitelist(role); } AuditWhitelistManager(); @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess); }
AuditWhitelistManager { void dropRoleWhitelist(RoleResource role) { whitelistDataAccess.deleteWhitelist(role); } AuditWhitelistManager(); @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess); void setup(); }
AuditWhitelistManager { void dropRoleWhitelist(RoleResource role) { whitelistDataAccess.deleteWhitelist(role); } AuditWhitelistManager(); @VisibleForTesting  AuditWhitelistManager(WhitelistDataAccess whitelistDataAccess); void setup();  }