private void testCorrectMethodInvocation(String methodName, String returnType, String[] argTypes, boolean isStatic) {
MethodInvocation invocation = QuickfixUtils.getMockMethodInvocation(methodName, argTypes, returnType, isStatic);
assertEquals("Expects method name = " + methodName, methodName, invocation.getName().getIdentifier());
assertEquals("Expects number of arguments = " + argTypes.length, argTypes.length, invocation.arguments().size());
assertEquals("Expects static = " + isStatic, isStatic, ASTResolving.isInStaticContext(invocation));
}
public void testGetMockConstructorInvocation() {