assertEquals(0, selectedSchemaKeys.size());
// we should have seen a key for each pseudo-key
}
public void testGetPopulatedConfigForm() throws Exception {
SimpleMockLdapHandler basicMock = MockLdapHandlers.getBasicMock();
LdapConnectorType lct = new LdapConnectorType(basicMock);
ResourceBundle b = lct.getResourceBundle(Locale.US);
ImmutableMap<String, String> originalConfig = ImmutableMap.<String, String> builder().put("googlePropertiesVersion", "3").put("authtype", "ANONYMOUS").put("hostname", "ldap.realistic-looking-domain.com").put("googleConnectorName", "x").put("googleConnectorWorkDir", "/home/ziff/cats/ldap-tom/webapps/connector-manager/WEB-INF/connectors/ldapConnector/x").put("password", "test").put("schema_10", "dn").put("username", "admin").put("schema_9", "employeestatus").put("schema_8", "employeenumber").put("method", "STANDARD").put("basedn", "ou=people,dc=example,dc=com").put("googleWorkDir", "/home/ziff/cats/ldap-tom/webapps/connector-manager/WEB-INF").put("filter", "ou=people").build();