pl.hiber.testcase.statements.AnswerUtils Maven / Gradle / Ivy
package pl.hiber.testcase.statements;
import org.junit.runners.model.FrameworkMethod;
/**
* Created by AdrianS on 2014-07-03.
*/
class AnswerUtils {
/* Exclude finalize, toString, hash, getClass methods in test case. */
protected static boolean igonreMethod(FrameworkMethod method) {
return "finalize".equals(method.getName()) ||
"toString".equals(method.getName()) ||
"hash".equals(method.getName()) ||
"getClass".equals(method.getName());
}
}