| 1 | <?php  | 
            ||
| 6 | class FieldTest extends TestCase  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 7 | {
 | 
            ||
| 8 | |||
| 9 | /**  | 
            ||
| 10 | * @expectedException Radowoj\Yaah\Exception  | 
            ||
| 11 | * @expectedExceptionMessage fid must be an integer  | 
            ||
| 12 | */  | 
            ||
| 13 | public function testNonIntegerFid()  | 
            ||
| 17 | |||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * Tests that output of Field->toArray() has the exact keys expected by WebAPI  | 
            ||
| 21 | */  | 
            ||
| 22 | public function testReturnedArray()  | 
            ||
| 50 | }  | 
            ||
| 51 | 
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.