Passed
Push — master ( 4fd20e...5ab443 )
by Simon
09:35
created

FluentSiteStateTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAppliesTo() 0 5 1
1
<?php
2
3
4
namespace Firesphere\SolrFluent\Tests;
5
6
7
use Firesphere\SolrFluent\States\FluentSiteState;
8
use SilverStripe\CMS\Model\SiteTree;
9
use SilverStripe\Dev\SapphireTest;
10
11
class FluentSiteStateTest extends SapphireTest
12
{
13
14
    public function testAppliesTo()
15
    {
16
        $state = new FluentSiteState();
17
18
        $this->assertFalse($state->appliesTo(SiteTree::class));
19
    }
20
}
21