IdTests::testCreate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0
rs 9.6666
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Cubiche/Model component.
5
 *
6
 * Copyright (c) Cubiche
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Cubiche\Domain\Model\Tests\Units\Selector;
13
14
use Cubiche\Domain\Model\Selector\Id;
15
use Cubiche\Domain\Model\Tests\Units\TestCase;
16
17
/**
18
 * IdTests class.
19
 *
20
 * Generated by TestGenerator on 2016-05-03 at 16:01:26.
21
 */
22
class IdTests extends TestCase
23
{
24
    /**
25
     * Test create.
26
     */
27
    public function testCreate()
28
    {
29
        $this
30
            ->given($selector = new Id())
31
            ->then()
32
                ->string($selector->name())
33
                    ->isEqualTo('id')
34
        ;
35
    }
36
}
37