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