DispatcherAwareInterface::testInterface()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the bee4/events package.
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 *
7
 * @copyright Bee4 2016
8
 * @author  Stephane HULARD <[email protected]>
9
 */
10
11
namespace Bee4\Events\Test\Units;
12
13
/**
14
 * Check behaviour of the DispatcherAwareInterface
15
 */
16
class DispatcherAwareInterface extends \atoum
17
{
18
    public function testInterface()
19
    {
20
        $this
21
            ->given($event = new \Mock\Bee4\Events\DispatcherAwareInterface)
22
            ->then
23
                ->object($event)
24
                    ->isInstanceOf('Bee4\Events\DispatcherAwareInterface');
25
    }
26
}
27