| Conditions | 1 |
| Paths | 1 |
| Total Lines | 27 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function encodeProvider() |
||
| 28 | { |
||
| 29 | $testObject = new \stdClass(); |
||
| 30 | $testObject->id = 1234; |
||
| 31 | return array( |
||
| 32 | array( |
||
| 33 | '"test1234"', |
||
| 34 | 'test1234' |
||
| 35 | ), |
||
| 36 | array( |
||
| 37 | '{"id":1234}', |
||
| 38 | array('id' => 1234) |
||
| 39 | ), |
||
| 40 | array( |
||
| 41 | '{"id":1234}', |
||
| 42 | $testObject, |
||
| 43 | ), |
||
| 44 | array( |
||
| 45 | 'null', |
||
| 46 | null |
||
| 47 | ), |
||
| 48 | array( |
||
| 49 | '"testSerialize"', |
||
| 50 | $this |
||
| 51 | ) |
||
| 52 | ); |
||
| 53 | } |
||
| 54 | |||
| 73 |