| 1 | <?php  | 
            ||
| 6 | class DMSCartAbstractControllerTest extends FunctionalTest  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 7 | { | 
            ||
| 8 | protected static $fixture_file = 'dms-cart/tests/DMSDocumentCartTest.yml';  | 
            ||
| 9 | |||
| 10 | /**  | 
            ||
| 11 | * @var DMSCartAbstractController  | 
            ||
| 12 | */  | 
            ||
| 13 | protected $controller;  | 
            ||
| 14 | |||
| 15 | public function setUp()  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Ensure the link is "friendly", not a class name  | 
            ||
| 23 | */  | 
            ||
| 24 | public function testLink()  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Tests if a Cart is received  | 
            ||
| 31 | */  | 
            ||
| 32 | public function testGetCart()  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * Controls the `Continue browsing` link found in DMSCartNavigation.ss. Defaults all requests back to home.  | 
            ||
| 40 | * @return string  | 
            ||
| 41 | */  | 
            ||
| 42 | public function testGetContinueBrowsingLink()  | 
            ||
| 47 | }  | 
            ||
| 48 | 
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.