I am writing a unit test based on the Shale Test Framework for a Tomahawk component. My current problem is the I need to add the default MyFaces and Tomahawk components and renderers to the FacesContext. To date I have been using facesContext.getApplication().addComponent(...) and facesContext.getRenderKit().addRenderer(...). This is becoming very cumbersome. I know the defaults are out their in various configuration files, but I do not know how to tell Shale's test framework how to use them.
Suggestions? Paul Spencer
