Why not? The method is available just for the unit test, right? Making it protected only allows subclasses to deal with it, instead of public.