for (String key : SharepointConnectorType.CONFIG_FIELDS) {
if (connectorType.isRequired(key)) {
System.out.println("REQUIRED: " + key);
configMap = Maps.newHashMap(TestConfiguration.getConfigMap());
configMap.remove(key);
ConfigureResponse response = connectorType.validateConfig(configMap,
Locale.ENGLISH, null);
assertNotNull(key, response);
assertFind(bundle.getString(key), response.getMessage());
assertFind("<font color=\"red\">", response.getFormSnippet());
checkFormSnippet(response.getFormSnippet());
}
}
}