Unit Test Extensions Directory

I am attempting to unit test a class that I placed in the protected/extensions directory. However, it appears the autoloader does not recognize classes that are in this directory because I get the following message:

include(My.Class.php): failed to open stream: No such file or directory

What is the best practice for including locations other than controllers and models in unit tests?


I notice that the test works fine when I place the class in the components directory, which may not necessarily be where I need to put it. If instantiate the object using the form ext.MyClass, I get the same ‘failed to open stream’ but this time the file is called “ext.php.”