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

AcceptanceTester   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A performOnContent() 0 4 1
A login() 0 4 1
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