Is it not a bit questionable to have a public method for testing purposes only? Could we not just change the test and remove the method?