bugid-99698 | Hubs V2 getHubUrl refactor [unit tests]