Adds missing method for phpunit 4.x compatability