| 1 | <?php |
||
| 6 | class HousesTest extends PHPUnit_Framework_TestCase |
||
|
|
|||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Test that the Royal edge-case house is correctly defined. |
||
| 11 | */ |
||
| 12 | public function testRoyalHouseDefined() |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Test that the House of Commons is correctly defined. |
||
| 19 | */ |
||
| 20 | public function testCommonsHouseDefined() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Test that the House of Lords is correctly defined. |
||
| 27 | */ |
||
| 28 | public function testLordsHouseDefined() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Test that the Northern Ireland Assembly is correctly defined. |
||
| 35 | */ |
||
| 36 | public function testNIHouseDefined() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Test that the Scottish Parliament is correctly defined. |
||
| 43 | */ |
||
| 44 | public function testScotlandHouseDefined() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Test that the Assembly for Wales is correctly defined. |
||
| 51 | */ |
||
| 52 | public function testWalesHouseDefined() |
||
| 56 | } |
||
| 57 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.