Override 'ServiceManager::has' to do not use peering service managers
Fix #4249
Move ExpectedException from annotation to ->setExpectedException()
Merge pull request #4250 from Danizord/hotfix/4249

[#4249] Override 'ServiceManager::has' to do not use peering service managers
Merge branch 'hotfix/4250'

Close #4250
Fixes #3820