Hey everybody I'm currently writing a library for a CakePHP projekt, and I'm using the new PHP5 OOP features like protected methods.
Now I'd like to be able to test them, but I don't know how to do it because I can't access them from within a SimpleTest file. My dirty solution would be to just subclass the class and make the method public, but this isn't very elegant. Are there better solutions? SimpleTest seems to be quite old, so I guess it's just not prepared for such things anymore. Thanks for hints Josh Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
