Completed
Pull Request — master (#62)
by Jason
14:09
created

SlideshowBlockTest::testGetPluralName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 5
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 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
}