[TYPO3-dev] Unit tests and method visibility
Niels Pardon
mail at niels-pardon.de
Sun Jul 5 23:11:08 CEST 2009
Nice, 3 people all telling basically the same story :)
Francois Suter schrieb:
> Hi all,
>
> I'm trying to design my first unit tests (wow!) and I'm faced with a
> problem. I want to test the result of a method which should logically be
> "protected". But since the test is outside the scope of the class that
> method belongs to, I get a fatal error trying to call it.
>
> Is there a way to design unit tests for protected (or private) methods?
>
> Cheers
>
More information about the TYPO3-dev
mailing list