Skip to content

Instantly share code, notes, and snippets.

@icambridge
Created January 21, 2012 11:25
Show Gist options
  • Select an option

  • Save icambridge/1652433 to your computer and use it in GitHub Desktop.

Select an option

Save icambridge/1652433 to your computer and use it in GitHub Desktop.
Mock Response
<?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