|
@ -31,7 +31,7 @@ class LayoutTest extends PHPUnit_Framework_TestCase |
|
|
if (!class_exists('RouterMock')) { |
|
|
if (!class_exists('RouterMock')) { |
|
|
$this->getMock('Router', array(), array(), 'RouterMock', false); |
|
|
$this->getMock('Router', array(), array(), 'RouterMock', false); |
|
|
} |
|
|
} |
|
|
if (!class_exists('PHPView')) { |
|
|
|
|
|
|
|
|
if (!class_exists('PHPViewMock')) { |
|
|
$this->getMock('PHPView', array('fetch', 'append', 'prepend', 'assign', 'getTemplate'), array(), 'PHPViewMock', false); |
|
|
$this->getMock('PHPView', array('fetch', 'append', 'prepend', 'assign', 'getTemplate'), array(), 'PHPViewMock', false); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|