Override 'ServiceManager::has' to do not use peering service managers
Fix #4249
Merge branch 'hotfix/4269'

Close #4269
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' into develop

Forward port #4250