ZfTestCaseContext   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setTestCase() 0 3 1
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\ZfTestCaseExtension\Context;
12
13
use Noiselabs\Behat\ZfTestCaseExtension\TestCase\HttpControllerTestCase;
14
15
class ZfTestCaseContext implements ZfTestCaseAwareContext
16
{
17
    /**
18
     * @var HttpControllerTestCase
19
     */
20
    protected $testCase;
21
22
    /**
23
     * @param HttpControllerTestCase $testCase
24
     */
25
    public function setTestCase(HttpControllerTestCase $testCase)
26
    {
27
        $this->testCase = $testCase;
28
    }
29
}