Completed
Push — master ( 69e30d...61c8d3 )
by Tõnis
09:18 queued 03:32
created

EmailsValidationFormTest::testSomeFeature()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace andmemasin\emailsvalidator;
3
4
use andmemasin\emailsvalidator\models\EmailsValidationForm;
5
use andmemasin\myabstract\test\ModelTestTrait;
6
7
class EmailsValidationFormTest extends \Codeception\Test\Unit
8
{
9
    use ModelTestTrait;
10
11
    /**
12
     * @var \andmemasin\emailsvalidator\UnitTester
13
     */
14
    protected $tester;
15
16
    /** @var EmailsValidationForm */
17
    protected $model;
18
19
    
20
    protected function _before()
21
    {
22
        $this->model = $this->baseObject();
23
    }
24
25
    protected function _after()
26
    {
27
    }
28
29
30
31
    /**
32
     * Returns a good working LimeSurvey collector
33
     * @return EmailsValidationForm
34
     */
35
    public function baseObject(){
36
        $model = new EmailsValidationForm();
37
        return $model;
38
    }
39
40
}