testing static method calls in private/protected classes