GetPublicMethodName should be static.
New unittests and refactoring for the old ones.