| 1 | <?php |
||
| 7 | class JsDataTest extends \PHPUnit_Framework_TestCase |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var JsData |
||
| 11 | */ |
||
| 12 | private $jsData; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @inherit |
||
| 16 | */ |
||
| 17 | protected function setUp() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @inherit |
||
| 24 | */ |
||
| 25 | protected function tearDown() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return \PHPUnit_Framework_MockObject_MockObject |
||
| 32 | */ |
||
| 33 | protected function getRequestStack() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Test jsData->get() |
||
| 54 | */ |
||
| 55 | public function testGet() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Test jsData->parse() |
||
| 64 | */ |
||
| 65 | public function testToString() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * This will check that the parent constructor is called |
||
| 73 | */ |
||
| 74 | public function testCorrectConstruction() |
||
| 78 | } |
||
| 79 |