Completed
Branch master (6515e3)
by Tomasz
03:10 queued 01:11
created

ModelTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 15
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInitialize() 0 12 1
1
<?php
2
/**
3
 * Copyright
4
 */
5
namespace Hexarchium\CoreDomain\Tests\Model\Model\Entity;
6
7
8
use Hexarchium\CoreDomain\Model\Domain\DomainId;
9
use Hexarchium\CoreDomain\Model\Model\Entity\Model;
10
use Hexarchium\CoreDomain\Model\Model\ModelId;
11
12
class ModelTest extends \PHPUnit_Framework_TestCase
13
{
14
    public function testInitialize()
15
    {
16
        $this->assertInstanceOf(
17
            Model::class,
18
            new Model(
19
                new ModelId(
20
                    new DomainId('1'),
21
                    '1'
22
                )
23
            )
24
        );
25
    }
26
}
27