Issue #3134388 by siddhant.bhosale, raman.b, AndrewsizZ: Replace assertions involving calls to isset() with assertArrayHasKey()/assertArrayNotHasKey