Completed
Pull Request — master (#148)
by Kevin
02:16
created

NotDisplayed   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A assertSelector() 0 6 1
1
<?php
2
3
namespace Magium\Assertions\Css;
4
5
use Magium\Assertions\SelectorAssertionInterface;
6
use Magium\WebDriver\WebDriver;
7
8
class NotDisplayed extends \Magium\Assertions\Element\NotDisplayed  implements SelectorAssertionInterface
0 ignored issues
show
Coding Style introduced by
Expected 1 space before implements keyword; 2 found
Loading history...
9
{
10
11
    public function assertSelector($selector)
12
    {
13
        $this->setSelector($selector);
14
        $this->setBy(WebDriver::BY_CSS_SELECTOR);
15
        $this->assert();
16
    }
17
18
}