Completed
Push — master ( d78611...69e30d )
by Tõnis
09:46
created

EmailAddressTest::baseObject()   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\EmailAddress;
5
use andmemasin\myabstract\test\ModelTestTrait;
6
use Codeception\Stub;
7
8
class EmailAddressTest extends \Codeception\Test\Unit
9
{
10
    use ModelTestTrait;
11
12
    /**
13
     * @var \andmemasin\emailsvalidator\UnitTester
14
     */
15
    protected $tester;
16
17
    /** @var EmailAddress */
18
    protected $model;
19
    
20
    protected function _before()
21
    {
22
        $this->model = $this->baseObject();
23
    }
24
25
    protected function _after()
26
    {
27
    }
28
29
    // tests
30
    public function testSomeFeature()
31
    {
32
33
    }
34
35
    /**
36
     * Returns a good working LimeSurvey collector
37
     * @return EmailAddress
38
     */
39
    public function baseObject(){
40
        $model = new EmailAddress();
41
        return $model;
42
    }
43
}