Tests for methodCall predicate.