Honor sonar.inclusions and sonar.exclusions properties. Refactoring to pass required dependency as constructor arguments. Unit tests for new and modified code.
Remove obsolete test cases.