Adding errors for private method access through predicate matchers