Location: PHPKode > projects > JAOSS > makeusabrew-jaoss-48332bf/tests/library/ControllerTest.php
class ControllerTest extends PHPUnit_Framework_TestCase {
    public function setUp() {
        $this->stub = new ConcreteController();

    public function testGetMatch() {
        $path = new Path();



// I'd much rather use a mock here but for some reason code coverage doesn't
// seem to work properly. Look at fixing this later.
class ConcreteController extends Controller {
    public function __construct() {
        // don't want abstract controller construct firing cos it throws an exception
        // could look at moving stuff out of construct?
Return current item: JAOSS