The atoum visibility-extension allows you to override method visibility in your unit tests.