Skip to content

Instantly share code, notes, and snippets.

@monsat
Created May 29, 2012 03:11
Show Gist options
  • Save monsat/2822299 to your computer and use it in GitHub Desktop.
Save monsat/2822299 to your computer and use it in GitHub Desktop.
<?php
App::uses('SampleHelper', 'View/Helper');
App::uses('View', 'View');
class SampleHelperTest extends CakeTestCase {
public function setUp() {
$controller = null;
$View = new View($controller);
$this->Sample = new SampleHelper($View);
}
public function tearDown() {
unset($this->Sample);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment