Completed
Push — master ( 979a3e...45792c )
by Vítor
01:55
created

test_it_can_initialize_the_context()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/*
3
 * This file is part of the Noiselabs ZfTestCase Behat Extension.
4
 *
5
 * (c) Vítor Brandão <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Noiselabs\Behat\ZfTestCaseExtensionTest\Context\Initializer;
12
13
use Noiselabs\Behat\ZfTestCaseExtension\Context\Initializer\ZfTestCaseAwareInitializer;
14
use Noiselabs\Behat\ZfTestCaseExtension\Context\ZfTestCaseContext;
15
use Noiselabs\Behat\ZfTestCaseExtension\TestCase\HttpControllerTestCase;
16
use PHPUnit_Framework_TestCase;
17
18
/**
19
 * @group unit
20
 */
21
class ZfTestCaseAwareInitializerTest extends PHPUnit_Framework_TestCase
22
{
23
    public function test_it_can_initialize_the_context()
24
    {
25
        $context = new ZfTestCaseContext();
26
        $initializer = new ZfTestCaseAwareInitializer(new HttpControllerTestCase());
27
28
        $initializer->initializeContext($context);
29
    }
30
}
31