Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 433 / Issue433Test.php
1 <?php
2 class Issue433Test extends PHPUnit_Framework_TestCase
3 {
4     public function testOutputWithExpectationBefore()
5     {
6         $this->expectOutputString('test');
7         print 'test';
8     }
9
10     public function testOutputWithExpectationAfter()
11     {
12         print 'test';
13         $this->expectOutputString('test');
14     }
15
16     public function testNotMatchingOutput()
17     {
18         print 'bar';
19         $this->expectOutputString('foo');
20     }
21 }