| 1 | <?php |
||
| 14 | class WP_Test_MslsOptionsTax extends Msls_UnitTestCase { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Verify the static create-method |
||
| 18 | */ |
||
| 19 | function test_create_method() { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Verify the get_tax_query-method |
||
| 27 | * @depends test_create_method |
||
| 28 | */ |
||
| 29 | function test_get_tax_query_method( $obj ) { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Verify the get_postlink-method |
||
| 35 | * @depends test_create_method |
||
| 36 | */ |
||
| 37 | function test_get_postlink_method( $obj ) { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Verify the get_current_link-method |
||
| 43 | * @depends test_create_method |
||
| 44 | */ |
||
| 45 | function test_get_current_link_method( $obj ) { |
||
| 48 | |||
| 49 | } |
||
| 50 |
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.