@Test
public void expandConfigurationPointElements() throws Exception {
createConfigurationPoints(null);
ConfigurationPoint cp1 = cps.getConfigurationPointByName("my/cp1");
ConfigurationPoint cp2 = cps.getConfigurationPointByName("my/cp2");
String test1 = getSchemaText(cp1.getContribution("test1", BEAN_DEFINITION_PARSER));
String test2 = getSchemaText(cp1.getContribution("test2", BEAN_DEFINITION_PARSER));
String test3 = getSchemaText(cp2.getContribution("test3", BEAN_DEFINITION_PARSER));
String test4 = getSchemaText(cp2.getContribution("test4", BEAN_DEFINITION_PARSER));
// 假如ns已经import了,确保不重复import;确保不import自己所在的cp。
assertSchemaText(test1, 1);
assertSchemaText(test2, 2);
assertSchemaText(test3, 3);