/vendor/phpunit/phpunit/tests/Regression/GitHub/433/Issue433Test.php
https://bitbucket.org/alan_cordova/api-sb-map · PHP · 21 lines · 19 code · 2 blank · 0 comment · 0 complexity · 750347290da446de684515ddd96b7326 MD5 · raw file
- <?php
- class Issue433Test extends PHPUnit_Framework_TestCase
- {
- public function testOutputWithExpectationBefore()
- {
- $this->expectOutputString('test');
- print 'test';
- }
- public function testOutputWithExpectationAfter()
- {
- print 'test';
- $this->expectOutputString('test');
- }
- public function testNotMatchingOutput()
- {
- print 'bar';
- $this->expectOutputString('foo');
- }
- }