since changing the component tree on server side is error-prone and sometimes really tricky, I tried to write some unit tests for this purpose (and to speed up development...).
But there is a problem: Inside the method createBaseComponent the FacesContext is needed, otherwise there is a nullpointer exception.
Do you have any ideas on making these things (more) testable? Can we use some dummy context for testing purpose?