| 1 | <?php |
||
| 9 | class JsDataTest extends \PHPUnit_Framework_TestCase |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var JsData |
||
| 13 | */ |
||
| 14 | private $jsData; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @inherit |
||
| 18 | */ |
||
| 19 | protected function setUp() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inherit |
||
| 26 | */ |
||
| 27 | protected function tearDown() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return \PHPUnit_Framework_MockObject_MockObject |
||
| 34 | */ |
||
| 35 | protected function getRequestStack() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Test jsData->get() |
||
| 56 | */ |
||
| 57 | public function testGet() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Test jsData->parse() |
||
| 66 | */ |
||
| 67 | public function testToString() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * This will check that the parent constructor is called |
||
| 75 | */ |
||
| 76 | public function testCorrectConstruction() |
||
| 80 | } |
||
| 81 |