assertEquals("Methodscounts are different for Class: " + intellij.getName(), theirsMethods.length, intellijMethods.length);
for (PsiMethod theirsMethod : theirsMethods) {
boolean compared = false;
final PsiModifierList theirsFieldModifierList = theirsMethod.getModifierList();
for (PsiMethod intellijMethod : intellijMethods) {
if (theirsMethod.getName().equals(intellijMethod.getName()) &&
theirsMethod.getParameterList().getParametersCount() == intellijMethod.getParameterList().getParametersCount()) {
PsiModifierList intellijFieldModifierList = intellijMethod.getModifierList();
compareModifiers(intellijFieldModifierList, theirsFieldModifierList);
compareType(intellijMethod.getReturnType(), theirsMethod.getReturnType(), theirsMethod);
compareParams(intellijMethod.getParameterList(), theirsMethod.getParameterList());