### Question:
LdapConfigV1Service { public DescribeLdapConfigResponse describe(String environmentCrn) { LdapConfig ldapConfig = ldapConfigService.get(environmentCrn); return convertLdapConfigToDescribeLdapConfigResponse(ldapConfig); }  DescribeLdapConfigResponse post(CreateLdapConfigRequest createLdapConfigRequest); DescribeLdapConfigResponse describe(String environmentCrn); void delete(String environmentCrn); CreateLdapConfigRequest getCreateLdapConfigRequest(String environmentCrn); TestLdapConfigResponse testConnection(TestLdapConfigRequest testLdapConfigRequest); DescribeLdapConfigResponse getForCluster(String environmentCrn, String accountId, String clusterName);  }### Answer:
@Test public void testDescribe() { LdapConfig ldapConfig = createLdapConfig(); Mockito.when(ldapConfigService.get(ENVID)).thenReturn(ldapConfig); Mockito.when(stringToSecretResponseConverter.convert(SECRET_BINDDN)).thenReturn(new SecretResponse("enginepath", "binddn-secretpath")); Mockito.when(stringToSecretResponseConverter.convert(SECRET_PWD)).thenReturn(new SecretResponse("enginepath", "pwd-secretpath")); DescribeLdapConfigResponse actualResponse = underTest.describe(ENVID); checkResponse(actualResponse); }