Completed
Push — master ( d53364...3f8dfc )
by Dmitry
04:49
created

AcceptanceTester::performOnContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace hipanel\tests\_support;
4
5
/**
6
 * Inherited Methods
7
 * @method void wantToTest($text)
8
 * @method void wantTo($text)
9
 * @method void execute($callable)
10
 * @method void expectTo($prediction)
11
 * @method void expect($prediction)
12
 * @method void amGoingTo($argumentation)
13
 * @method void am($role)
14
 * @method void lookForwardTo($achieveValue)
15
 * @method void comment($description)
16
 * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = null)
17
 *
18
 * @SuppressWarnings(PHPMD)
19
 */
20
class AcceptanceTester extends \root\AcceptanceTester
21
{
22
    public function performOnContent($actions, $timeout = null)
23
    {
24
        return $this->performOn('.content-wrapper', $actions, $timeout);
25
    }
26
27
    public function login()
28
    {
29
        throw new Exception('Login method MUST be implemented by tester');
30
    }
31
}
32