Completed
Push — master ( b87dd6...1d32ac )
by Alexey
10:52
created

FunctionalTester   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 13
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace frontend\tests;
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 FunctionalTester extends \Codeception\Actor
21
{
22
    use _generated\FunctionalTesterActions;
23
24
25
    public function seeValidationError($message)
26
    {
27
        $this->see($message, '.help-block');
28
    }
29
30
    public function dontSeeValidationError($message)
31
    {
32
        $this->dontSee($message, '.help-block');
33
    }
34
}
35