LoadIncluderTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testLoadInclude() 0 9 1
1
<?php
2
3
namespace Maestriam\Samurai\Tests\Unit\Entities\Includer;
4
5
use Maestriam\Samurai\Entities\Includer;
6
use Maestriam\Samurai\Tests\TestCase;
7
8
class LoadIncluderTest extends TestCase
9
{
10
    public function testLoadInclude()
11
    {
12
        $theme = $this->theme('bands/great-white')->findOrCreate();
13
14
        $include = $theme->include('musics/stick-it')->create();
15
16
        $ret = $include->load();
17
18
        $this->assertInstanceOf(Includer::class, $ret);
19
    }
20
}