public void testMethodWith2ParamsOnePrimitive() throws JavaModelException {
IMethod method = type.getMethod("testMethod4", new String[] { "QTestClass;", "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("1 proposal expected", 1, proposals.size());
assertTrue("AddQualiferCompletionProposal expected",
proposals.get(0) instanceof AddQualiferToMethodParamCompletionProposal);