BeansProject beanProject = (BeansProject) BeansCorePlugin.getModel().getProject(project);
IBeansConfigSet configSet = beanProject.getConfigSet("AddConfigSetTest");
assertNull("Expects no config set", configSet);
AddConfigSetQuickFixProposal proposal = new AddConfigSetQuickFixProposal(offset, length, false, importBean,
file, "AddConfigSetTest");
proposal.apply(document);
configSet = beanProject.getConfigSet("AddConfigSetTest");
assertNotNull("Expects config set to be created", configSet);
assertTrue("Expects config-set-proposal-test.xml to be added to config set",
configSet.getConfigs().contains(beanProject.getConfig(file)));