#86170Check for extbase response type instead of current environment
Description
It’s currently not possible to run functional tests that expect frontend output of Extbase.
Extbase will check for current environment to be CLI context, which is true for functional tests.
Still the response might be a web Response which does not implement the called method.
This issue occurs in 7, 8 and master.