Created
January 21, 2012 11:25
-
-
Save icambridge/1652433 to your computer and use it in GitHub Desktop.
Mock Response
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 | |
namespace app\tests\mocks\action; | |
class MockControllerResponse extends \lithium\action\Response { | |
public $hasRendered = false; | |
public function render() { | |
$this->hasRendered = true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment