Test Setup Failed
Push — master ( 1f658a...0bb757 )
by Ion
02:42
created

BaseModelTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testGetAnonymizable() 0 5 1
A testGetEncrypted() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
namespace IonGhitun\MysqlEncryption\Tests\Models;
5
6
use IonGhitun\MysqlEncryption\Models\BaseModel;
7
use PHPUnit\Framework\TestCase;
8
9
/**
10
 * Class BaseModelTest
11
 *
12
 * @package IonGhitun\MysqlEncryption\Tests\Models
13
 */
14
class BaseModelTest extends TestCase
15
{
16
    /**
17
     * Test getAnonymizable
18
     */
19
    public function testGetAnonymizable()
20
    {
21
        $model = new BaseModel();
22
23
        $this->assertEquals($model->getAnonymizable(), []);
24
    }
25
26
    /**
27
     * Test getEncrypted
28
     */
29
    public function testGetEncrypted()
30
    {
31
        $model = new BaseModel();
32
33
        $this->assertEquals($model->getEncrypted(), []);
34
    }
35
}
36