| Total Complexity | 3 | 
| Total Lines | 32 | 
| Duplicated Lines | 0 % | 
| Changes | 2 | ||
| Bugs | 1 | Features | 1 | 
| 1 | <?php  | 
            ||
| 9 | class ExtensionsTest extends SapphireTest  | 
            ||
| 10 | { | 
            ||
| 11 | /**  | 
            ||
| 12 | * Defines the fixture file to use for this test class  | 
            ||
| 13 | * @var string  | 
            ||
| 14 | */  | 
            ||
| 15 | protected static $fixture_file = 'Test_CommonExtensions.yml';  | 
            ||
| 16 | |||
| 17 | protected static $extra_dataobjects = array(  | 
            ||
| 18 | Test_CommonExtensions::class,  | 
            ||
| 19 | );  | 
            ||
| 20 | |||
| 21 | public function testHasExtensions()  | 
            ||
| 22 |     { | 
            ||
| 23 | $model = new Test_CommonExtensions();  | 
            ||
| 24 | |||
| 25 | $this->assertTrue($model->hasExtension(IPExtension::class));  | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 28 | public function testIPExtension()  | 
            ||
| 41 | }  | 
            ||
| 42 | }  | 
            ||
| 43 |