Leaving the `VisibleForTesting` is misleading in this scenario Similar SPEC : [RSPEC-5803](https://jira.sonarsource.com/browse/RSPEC-5803)