Completed
Push — master ( 79a5bc...8feb3f )
by Edson
01:27
created

ClauseTest::testWhere()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Tests;
4
5
use PHPUnit\Framework\TestCase;
6
7
class ClauseTest extends TestCase
8
{
9
    use \Bonfim\Component\Database\Clause;
10
11
    public function testWhere()
12
    {
13
        $this->where('id', 1);
14
        $this->assertEquals('WHERE `id` = :id', $this->clause);
15
    }
16
}
17