Created
January 16, 2010 17:16
-
-
Save zacharydanger/278900 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'PHPUnit/Framework.php'; | |
function foobar(Array $array) { | |
} | |
class FoobarTest extends PHPUnit_Framework_TestCase { | |
/** | |
* @expectedException PHPUnit_Framework_Error | |
*/ | |
function testFoobar() { | |
foobar('abc'); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment