EventInterface   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInterface() 0 8 1
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
use Bee4\Events\EventInterface as SUT;
14
15
/**
16
 * Check behaviour of the EventInterface
17
 */
18
class EventInterface extends \atoum
19
{
20
    public function testInterface()
21
    {
22
        $this
23
            ->given($event = new \Mock\Bee4\Events\EventInterface)
24
            ->then
25
                ->object($event)
26
                    ->isInstanceOf('Bee4\Events\EventInterface');
27
    }
28
}
29