[ create a new paste ] login | about

Link: http://codepad.org/4z1NBtOL    [ raw code | output | fork ]

PHP, pasted on Mar 11:
1
2
3
4
5
6
7
8
9
10
11
<?php
require_once 'PHPUnit/Autoload.php';

class NullTest extends PHPUnit_Framework_TestCase
{
    public function testFailure()
    {
// i have a breakpoint on the next line
        $this->assertNull('foo');
    }
}


Output:
1
2
3
4

Warning: require_once(PHPUnit/Autoload.php): failed to open stream: No such file or directory on line 2

Fatal error: require_once(): Failed opening required 'PHPUnit/Autoload.php' (include_path='.:/usr/lib/php') on line 2


Create a new paste based on this one


Comments: