Makes map service check style compliant

I would pull this out into a method:

Object testValue = getTestValue(...)