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

EmailsValidationFormTest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 4
lcom 1
cbo 2
dl 0
loc 36
c 0
b 0
f 0
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A _before() 0 4 1
A _after() 0 3 1
A testSomeFeature() 0 4 1
A baseObject() 0 4 1
1
<?php
2
namespace andmemasin\emailsvalidator;
3
4
use andmemasin\emailsvalidator\models\EmailsValidationForm;
5
6
class EmailsValidationFormTest extends \Codeception\Test\Unit
7
{
8
    /**
9
     * @var \andmemasin\emailsvalidator\UnitTester
10
     */
11
    protected $tester;
12
13
    /** @var EmailsValidationForm */
14
    protected $model;
15
16
    
17
    protected function _before()
18
    {
19
        $this->model = $this->baseObject();
20
    }
21
22
    protected function _after()
23
    {
24
    }
25
26
    // tests
27
    public function testSomeFeature()
28
    {
29
30
    }
31
32
    /**
33
     * Returns a good working LimeSurvey collector
34
     * @return EmailsValidationForm
35
     */
36
    public function baseObject(){
37
        $model = new EmailsValidationForm();
38
        return $model;
39
    }
40
41
}