### Question:
LdapConfigV1Service { public CreateLdapConfigRequest getCreateLdapConfigRequest(String environmentCrn) { return convertLdapConfigToCreateLdapConfigRequest(ldapConfigService.get(environmentCrn)); }  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 testGetCreateRequest() { LdapConfig ldapConfig = createLdapConfig(); Mockito.when(ldapConfigService.get(ENVID)).thenReturn(ldapConfig); CreateLdapConfigRequest actualRequest = underTest.getCreateLdapConfigRequest(ENVID); checkCreateRequest(actualRequest); }