Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function testJsonForFullData() |
||
23 | { |
||
24 | $this->myMonitoringWidget |
||
25 | ->setStatus('Up') |
||
26 | ->setDownTime('9 days ago') |
||
27 | ->setResponseTime('593 ms'); |
||
28 | |||
29 | $json = json_encode($this->myMonitoringWidget->getData()); |
||
30 | $this->assertEquals('{"status":"Up","downTime":"9 days ago","responseTime":"593 ms"}', $json); |
||
31 | } |
||
32 | |||
46 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.