You are here

Issue433Test.php in Zircon Profile 8

File

vendor/phpunit/phpunit/tests/Regression/GitHub/433/Issue433Test.php
View source
<?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');
  }

}

Classes

Namesort descending Description
Issue433Test