### Question:
LdapClient { List<LdapSettings> checkForMissingConfigurations() { return Arrays.stream(LdapSettings.values()) .filter(p -> !p.equals(LdapSettings.TASKANA_LDAP_MAX_NUMBER_OF_RETURNED_ACCESS_IDS)) .filter(p -> !p.equals(LdapSettings.TASKANA_LDAP_MIN_SEARCH_FOR_LENGTH)) .filter(p -> p.getValueFromEnv(env) == null) .collect(Collectors.toList()); } @Autowired  LdapClient(Environment env, LdapTemplate ldapTemplate); List<AccessIdRepresentationModel> searchUsersAndGroups(final String name); List<AccessIdRepresentationModel> searchUsersByNameOrAccessId(final String name); List<AccessIdRepresentationModel> getUsersByAccessId(final String accessId); List<AccessIdRepresentationModel> searchGroupsByName(final String name); AccessIdRepresentationModel searchAccessIdByDn(final String dn); List<AccessIdRepresentationModel> searchGroupsAccessIdIsMemberOf(final String accessId); String getUserSearchBase(); String getUserSearchFilterName(); String getUserSearchFilterValue(); String getUserFirstnameAttribute(); String getUserLastnameAttribute(); String getUserIdAttribute(); String getGroupSearchBase(); String getBaseDn(); String getGroupSearchFilterName(); String getGroupSearchFilterValue(); String getGroupNameAttribute(); int calcMinSearchForLength(int defaultValue); int getMinSearchForLength(); int calcMaxNumberOfReturnedAccessIds(int defaultValue); int getMaxNumberOfReturnedAccessIds(); String getGroupsOfUser(); boolean isUser(String accessId);  }### Answer:
@Test void testLdap_checkForMissingConfigurations() { assertThat(cut.checkForMissingConfigurations()).hasSize(LdapSettings.values().length - 2); }