JDTFacade facade = new JDTFacade(fixture.getProject());
facade.addMethodAnnotation("org.apache.openejb.test.TestBean6", "echoHelloWorld", new String[] {"java.lang.String"}, ManyToMany.class, null); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
Change change = facade.getChange();
FakeProgressMonitor progressMonitor = new FakeProgressMonitor();
change.perform(progressMonitor);
assertEquals(fixture.getStreamContent(getClass().getResourceAsStream("ExpectedResult6.txt")), getClassContents("org.apache.openejb.test.TestBean6")); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testShouldAddAnnotationWithClassAttributeWithStringPassedIn() throws Exception {