Completed
Push — develop ( 98dd0e...37ae8a )
by Stéphane
02:08
created

LeagueEventAdapter::beforeTestMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 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 2014
8
 * @author  Stephane HULARD <[email protected]>
9
 */
10
11
namespace Bee4\Events\Test\Units\Adapters;
12
13
use Bee4\Events\Adapters\LeagueEventAdapter as SUT;
14
15
/**
16
 * Check behaviour League Event adapter
17
 */
18
class LeagueEventAdapter extends AbstractAdapterTest
19
{
20
    public function beforeTestMethod($method)
21
    {
22
        $this->adapter = new SUT(
23
            new \League\Event\Emitter()
24
        );
25
    }
26
}
27