D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
www
/
vendor
/
phpunit
/
phpunit
/
tests
/
Regression
/
GitHub
/
445
/
Filename :
Issue445Test.php
back
Copy
<?php class Issue445Test 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'); } }