Fix visibility of PHPUnit method