See the phpdoc of the class, which tells this code is heavily inspired by the Symfony ApplicationTester class available in the Console component: https://github.com/cordoval/gush/pull/65/files#diff-e48a8838f5f865960c05fce639228f48R19
My question is: why duplicating it instead of using the Symfony ApplicationTester ?