public void testMethod2VariablesNoPathVariable() throws JavaModelException {
IMethod method = type.getType("NoAnnotation").getMethod("variablesNoPathVariable", new String[] { "I", "I" });
ISourceRange sourceRange = method.getSourceRange();
MethodDeclaration methodDecl = (MethodDeclaration) getASTNode(sourceRange, type, viewer);
IInvocationContext context = getContext(sourceRange, method, methodDecl);
List<IJavaCompletionProposal> proposals = processor.getAssists(methodDecl, context);
assertEquals("2 proposal expected", 4, proposals.size());
assertTrue("AddPathVariableCompletionProposal expected",
proposals.get(0) instanceof AddPathVariableCompletionProposal);