| Predicate for sifting out methods that should not be mocked.
Methods that never should be mocked are equals, toString and hashCode, both those in Object and any overrides. Also,
final methods cannot be mocked, so warn and omit them. Also, native methods.
author: adam version: $Id: MockableMethodPredicate.java,v 1.1 2005/12/03 12:51:40 adamskogman Exp $ |