TestElement   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 51
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 51
rs 10
c 0
b 0
f 0
wmc 7
lcom 0
cbo 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A text() 0 3 1
A attribute() 0 3 1
A click() 0 3 1
A clear() 0 3 1
A sendKeys() 0 3 1
A submit() 0 3 1
A displayed() 0 3 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\WebDriver;
11
12
/**
13
 * For mocking PHPWebDriver_WebDriverElement
14
 */
15
class TestElement implements ElementInterface
16
{
17
    /**
18
     * {@inheritDoc}
19
     */
20
    public function text()
21
    {
22
    }
23
24
    /**
25
     * {@inheritDoc}
26
     */
27
    public function attribute($name)
28
    {
29
    }
30
31
    /**
32
     * {@inheritDoc}
33
     */
34
    public function click()
35
    {
36
    }
37
38
    /**
39
     * {@inheritDoc}
40
     */
41
    public function clear()
42
    {
43
    }
44
45
    /**
46
     * {@inheritDoc}
47
     */
48
    public function sendKeys($keys)
49
    {
50
    }
51
52
    /**
53
     * {@inheritDoc}
54
     */
55
    public function submit()
56
    {
57
    }
58
59
    /**
60
     * {@inheritDoc}
61
     */
62
    public function displayed()
63
    {
64
    }
65
}
66