Skip to content

Instantly share code, notes, and snippets.

@coreymcmahon
Created June 14, 2012 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreymcmahon/2929596 to your computer and use it in GitHub Desktop.
Save coreymcmahon/2929596 to your computer and use it in GitHub Desktop.
Example of a Unit test for our PHP framework, Simplex - http://www.symfonycentral.com
<?php
namespace Simplex\Tests;
use Simplex\Framework;
class FrameworkTest extends \PHPUnit_Framework_TestCase
{
public function testNotFoundHandling()
{
$this->assertEquals(/* test condition in here */);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment