### Question:
KerberosConfigRegisterService extends AbstractConfigRegister { @Override public void delete(Stack stack) { try { kerberosConfigService.deleteAllInEnvironment(stack.getEnvironmentCrn(), stack.getAccountId()); } catch (NotFoundException e) { LOGGER.info("Kerberos config not exists for environment {}", stack.getEnvironmentCrn()); } }  @Override void register(Long stackId); KerberosConfig createKerberosConfig(Long stackId, String dn, String password, String clusterName, String environmentCrn); @Override void delete(Stack stack); static final String FREEIPA_DEFAULT_ADMIN; }### Answer:
@Test void delete() { Stack stack = new Stack(); stack.setEnvironmentCrn("env"); stack.setAccountId("acc"); underTest.delete(stack); verify(kerberosConfigService).deleteAllInEnvironment(stack.getEnvironmentCrn(), stack.getAccountId()); }