File "OutputTestCase.php"

Full Path: /www/wwwroot/shphe-en.com/smsapi/api_sdk/vendor/phpunit/phpunit/tests/_files/OutputTestCase.php
File size: 597 bytes
MIME-type: --
Charset: utf-8

<?php
class OutputTestCase extends PHPUnit_Framework_TestCase
{
    public function testExpectOutputStringFooActualFoo()
    {
        $this->expectOutputString('foo');
        print 'foo';
    }

    public function testExpectOutputStringFooActualBar()
    {
        $this->expectOutputString('foo');
        print 'bar';
    }

    public function testExpectOutputRegexFooActualFoo()
    {
        $this->expectOutputRegex('/foo/');
        print 'foo';
    }

    public function testExpectOutputRegexFooActualBar()
    {
        $this->expectOutputRegex('/foo/');
        print 'bar';
    }
}