AbstractMailTestCase   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 5 1
A tearDown() 0 5 1
1
<?php
2
/**
3
 * Webino (http://webino.sk/)
4
 *
5
 * @link        https://github.com/webino/WebinoDev/ for the canonical source repository
6
 * @copyright   Copyright (c) 2014-2017 Webino, s. r. o. (http://webino.sk/)
7
 * @license     BSD-3-Clause
8
 */
9
10
namespace WebinoDev\Test\Selenium;
11
12
/**
13
 * Base test case for mail Selenium WebDriver tests
14
 */
15
abstract class AbstractMailTestCase extends AbstractTestCase
16
{
17
    use MailTrait;
18
19
    /**
20
     * {@inheritDoc}
21
     */
22
    protected function setUp()
23
    {
24
        parent::setUp();
25
        $this->setUpMailDir();
26
    }
27
28
    /**
29
     * {@inheritDoc}
30
     */
31
    protected function tearDown()
32
    {
33
        parent::tearDown();
34
        $this->tearDownMailDir();
35
    }
36
}
37