How do you write unit tests for classes like this? A lot of reflection I assume?
If you want to test the fragments in isolation, split it out into a separate class that you use as a dependency. Your desire to do so is often a good indication that you should split up the responsibility.