[TYPO3-dev]  Unit tests and method visibility
    Francois Suter 
    fsuter at cobweb.ch
       
    Sun Jul  5 22:50:42 CEST 2009
    
    
  
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
-- 
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
    
    
More information about the TYPO3-dev
mailing list