public void testDSLProposalFirstMethod1() throws Exception {
   if (GroovyUtils.GROOVY_LEVEL >= 20) {
     AbstractDSLInferencingTest.addGroovyJarToProject(
         "groovy-swing-2.0.6.jar", getDefaultProject());
   }
   String contents =
       "import groovy.swing.SwingBuilder\n" + "new SwingBuilder().edt {\n" + "delegate.x\n" + "}";
   ICompletionProposal[] proposals =
       orderByRelevance(createProposalsAtOffset(contents, getIndexOf(contents, "delegate.")));
   assertProposalOrdering(proposals, "frame", "registerBinding");
 }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   createGenericProject();
   IProject project = getDefaultProject();
   AbstractDSLInferencingTest.refreshExternalFoldersProject();
   GroovyRuntime.addLibraryToClasspath(
       JavaCore.create(project), GroovyDSLCoreActivator.CLASSPATH_CONTAINER_ID, false);
   env.fullBuild();
   new RefreshDSLDJob(project).run(null);
   GroovyDSLCoreActivator.getDefault().getContainerListener().ignoreProject(project);
 }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   createDSL();
 }