Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
63 | public function testCreateValidator(array $data, bool $expectedResult) |
||
64 | { |
||
65 | $validator = $this->sut->createValidator(); |
||
66 | |||
67 | $this->assertInstanceOf(IValidator::class, $validator); |
||
68 | |||
69 | $actualResult = $validator->isValid($data); |
||
70 | |||
71 | $this->assertSame($expectedResult, $actualResult); |
||
72 | } |
||
74 |