}
public void testAddConfigSet() {
IDOMNode beanNode = QuickfixTestUtil.getNode(BeansSchemaConstants.ELEM_BEAN, "addToConfigSetTest",
beansNode.getChildNodes());
AttrImpl parentAttr = (AttrImpl) beanNode.getAttributes().getNamedItem(BeansSchemaConstants.ATTR_PARENT);
ITextRegion valueRegion = parentAttr.getValueRegion();
int offset = getOffset(valueRegion, beanNode);
int length = getLength(valueRegion, false);
IFile configFile = (IFile) project.findMember("src/import-test.xml");
IBeansConfig config = BeansCorePlugin.getModel().getConfig(configFile);
IBean importBean = BeansModelUtils.getBean(parentAttr.getValue(), config);
BeansProject beanProject = (BeansProject) BeansCorePlugin.getModel().getProject(project);
IBeansConfigSet configSet = beanProject.getConfigSet("AddConfigSetTest");
assertNull("Expects no config set", configSet);