Completed
Pull Request — master (#62)
by Jason
17:50 queued 02:52
created

SlideshowBlockTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Dynamic\DynamicBlocks\Test;
4
5
use Dynamic\DynamicBlocks\Block\SlideshowBlock;
6
use SilverStripe\Dev\SapphireTest;
7
8
class SlideshowBlockTest extends SapphireTest
9
{
10
    /**
11
     * @var string
12
     */
13
    protected static $fixture_file = 'dynamic-blocks/tests/Fixtures.yml';
14
15
    /**
16
     *
17
     */
18
    public function testGetPluralName()
19
    {
20
        $object = singleton(SlideshowBlock::class);
21
        $this->assertEquals('Slideshow Blocks', $object->plural_name());
22
    }
23
}