Passed
Push — release/v2 ( 119cbe...817cd6 )
by Benoit
02:50
created

ConstraintTestCase   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
namespace JBen87\ParsleyBundle\Tests\Constraint\Constraints;
4
5
use PHPUnit\Framework\MockObject\MockObject;
6
use PHPUnit\Framework\TestCase;
7
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
8
9
abstract class ConstraintTestCase extends TestCase
10
{
11
    /**
12
     * @var MockObject|NormalizerInterface
13
     */
14
    protected $normalizer;
15
16
    abstract public function testNormalization(): void;
17
18
    /**
19
     * @inheritdoc
20
     */
21
    protected function setUp(): void
22
    {
23
        $this->normalizer = $this->createMock(NormalizerInterface::class);
24
    }
25
}
26