PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1<?php
 2class 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}