AccidentalRefactoring - removing an unneeded public method

One of the methods was made public for testing purposes but since we now have InternalsVisibleTo it can be removed.