}
public void testShouldGenerateMethodPermissionAnnotations() throws Exception {
// setup
final IJDTFacade facade = context.mock(IJDTFacade.class);
SessionBeanConverter converter = new SessionBeanConverter(facade);
// expectations
context.checking(new Expectations(){{
one(facade).addMethodAnnotation("test.TestBean", "test", new String[0], RolesAllowed.class, createNameValuePair("value", new String[] { "Admin" })); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$