ThreadMetaTest::testInstanceOfModel()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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