1 | <?php |
||
9 | class WSL_Test_Components extends WP_UnitTestCase |
||
10 | { |
||
11 | function setUp() |
||
15 | |||
16 | function tearDown() |
||
20 | |||
21 | function test_component_core_enabled() |
||
25 | |||
26 | function test_component_networks_enabled() |
||
30 | |||
31 | function test_component_loginwidget_enabled() |
||
35 | |||
36 | function test_component_bouncer_enabled() |
||
40 | } |
||
41 |
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.