| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 6 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | public function testGetItem()  | 
            ||
| 20 |     { | 
            ||
| 21 |         $handler = new DMSUploadField_ItemHandler(DMSUploadField::create('Test'), $this->document->ID); | 
            ||
| 22 | $result = $handler->getItem();  | 
            ||
| 23 | $this->assertSame($result->ID, $this->document->ID, 'getItem returns the correct document from the database');  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 36 | 
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.