Symfony\Component\Console\Tests\Helper\SymfonyQuestionHelperTest::testLabelTrailingBackslash PHP Method

testLabelTrailingBackslash() public method

    public function testLabelTrailingBackslash()
    {
        $helper = new SymfonyQuestionHelper();
        $input = $this->createStreamableInputInterfaceMock($this->getInputStream('sure'));
        $helper->ask($input, $output = $this->createOutputInterface(), new Question('Question with a trailing \\'));

        $this->assertOutputContains('Question with a trailing \\', $output);
    }