<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def execute(self, container: Container, test: TestCase, verbose: bool = False ) -> TestOutcome: """ Runs a specified test inside a given container. Returns: the outcome of the test execution. """

        bug = self.__installation.bugs[container.bug]  # type: Bug
        response = self.command(container,
                                cmd=test.command,
                                context=test.context,
                                stderr=True,
                                time_limit=test.time_limit,
                                kill_after=test.kill_after,
                                verbose=verbose)
        passed = test.oracle.check(response)
        return TestOutcome(response, passed)