ThreadMetaTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInstanceOfModel() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the MilioooMessageBundle package.
5
 *
6
 * (c) Michiel boeckaert <[email protected]>
7
 * This source file is subject to the MIT license that is bundled
8
 * with this source code in the file LICENSE.
9
 */
10
11
namespace Miliooo\MessagingBundle\Tests\Entity;
12
13
/**
14
 * Test file for Miliooo\MessagingBundle\Entity\ThreadMeta.
15
 *
16
 * Since this class is needed and used in doctrine mappings we need to test
17
 * that this class exists and extends the right class.
18
 *
19
 * @author Michiel Boeckaert <[email protected]>
20
 */
21
class ThreadMetaTest extends \PHPUnit_Framework_TestCase
22
{
23
    public function testInstanceOfModel()
24
    {
25
        $messageMeta = $this->getMockForAbstractClass('Miliooo\MessagingBundle\Entity\ThreadMeta');
26
        $this->assertInstanceOf('Miliooo\Messaging\Model\ThreadMeta', $messageMeta);
27
    }
28
}
29