NotExists   A
last analyzed

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\Xpath;
4
5
use Magium\Assertions\SelectorAssertionInterface;
6
use Magium\WebDriver\WebDriver;
7
8
class NotExists extends \Magium\Assertions\Element\NotExists implements SelectorAssertionInterface
9
{
10
11
    public function assertSelector($selector)
12
    {
13
        $this->setSelector($selector);
14
        $this->setBy(WebDriver::BY_XPATH);
15
        $this->assert();
16
    }
17
18
}