| 1 | <?php |
||
| 14 | class WP_Test_MslsJson extends Msls_UnitTestCase { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Verify the add- and the get-methods |
||
| 18 | */ |
||
| 19 | function test_add_get_methods() { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Verify the encode and the __toString-method |
||
| 37 | * |
||
| 38 | * @depends test_add_get_methods |
||
| 39 | */ |
||
| 40 | function test___toString_methods( $obj ) { |
||
| 45 | |||
| 46 | } |
||
| 47 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.