Refactor invokeRegistry() into invokeProtected().
Generalize fakeStreamLocator() test method.
Rename fakeStreamLocator() to mockStreamLocator().
Move mockStreamLocator() to StreamWrapperTest.