Exists   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A assert() 0 5 1
1
<?php
2
3
namespace Magium\Assertions\Element;
4
5
class Exists extends AbstractSelectorAssertion
6
{
7
8
    const ASSERTION = 'Element\Exists';
9
10
    public function assert()
11
    {
12
        $this->getTestCase()->assertWebDriverElement($this->webDriver->{$this->by}($this->selector));
13
14
    }
15
16
}