1 | <?php |
||
3 | class ZonedShippingMethodTest extends TableShippingMethodTest{ |
||
4 | |||
5 | static $fixture_file = array( |
||
6 | 'silvershop-shipping/tests/fixtures/ZonedShippingMethod.yml' |
||
7 | ); |
||
8 | |||
9 | protected $fixtureclass = "ZonedShippingMethod"; |
||
10 | |||
11 | //This test suite shares tests with TableShippingMethod |
||
12 | |||
13 | public function testDefaultRate() { |
||
27 | |||
28 | } |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: