| 1 | <?php  | 
            ||
| 3 | class DMSDocumentAdminExtensionTest extends FunctionalTest  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 4 | { | 
            ||
| 5 | protected $requiredExtensions = array(  | 
            ||
| 6 |         'DMSDocumentAdmin' => array('DMSDocumentAdminExtension') | 
            ||
| 7 | );  | 
            ||
| 8 | |||
| 9 | public function setUp()  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * Ensure that the cart submission tab is available in the DMS model admin  | 
            ||
| 17 | */  | 
            ||
| 18 | public function testHasCartSubmissionsTab()  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * Ensure that the "add new" button has been removed  | 
            ||
| 27 | */  | 
            ||
| 28 | public function testNoAddButtonInGridField()  | 
            ||
| 34 | }  | 
            ||
| 35 | 
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.