Created
June 9, 2009 06:38
-
-
Save simianhacker/126322 to your computer and use it in GitHub Desktop.
This file contains 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'; | |
class Describe_Something_Awesome extends PHPUnit_Framework_TestCase | |
{ | |
public function setUp() | |
{ | |
$this->something = "Awesome!"; | |
} | |
/** | |
* It should do something really cool | |
* @author Christopher Cowan | |
* @test | |
*/ | |
public function It_should_do_something_really_cool() | |
{ | |
$this->assertNotEquals('Cool!', $this->something); | |
} // It should do something really cool | |
/** | |
* It should do something uncool | |
* @author Christopher Cowan | |
* @test | |
*/ | |
public function It_should_do_something_uncool() | |
{ | |
$this->assertEquals("Cool!", $this->something); | |
} // It should do something uncool | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment