@@ -26,7 +26,7 @@ public function testLineCoverageForBankAccountTest(): void
26
26
{
27
27
$ clover = new Clover ;
28
28
29
- $ this ->validateAndAssert (
29
+ $ this ->assertAndValidate (
30
30
TEST_FILES_PATH . 'BankAccount-clover-line.xml ' ,
31
31
$ clover ->process ($ this ->getLineCoverageForBankAccount (), null , 'BankAccount ' ),
32
32
);
@@ -36,7 +36,7 @@ public function testPathCoverageForBankAccountTest(): void
36
36
{
37
37
$ clover = new Clover ;
38
38
39
- $ this ->validateAndAssert (
39
+ $ this ->assertAndValidate (
40
40
TEST_FILES_PATH . 'BankAccount-clover-path.xml ' ,
41
41
$ clover ->process ($ this ->getPathCoverageForBankAccount (), null , 'BankAccount ' ),
42
42
);
@@ -46,7 +46,7 @@ public function testCloverForFileWithIgnoredLines(): void
46
46
{
47
47
$ clover = new Clover ;
48
48
49
- $ this ->validateAndAssert (
49
+ $ this ->assertAndValidate (
50
50
TEST_FILES_PATH . 'ignored-lines-clover.xml ' ,
51
51
$ clover ->process ($ this ->getCoverageForFileWithIgnoredLines ()),
52
52
);
@@ -56,7 +56,7 @@ public function testCloverForClassWithAnonymousFunction(): void
56
56
{
57
57
$ clover = new Clover ;
58
58
59
- $ this ->validateAndAssert (
59
+ $ this ->assertAndValidate (
60
60
TEST_FILES_PATH . 'class-with-anonymous-function-clover.xml ' ,
61
61
$ clover ->process ($ this ->getCoverageForClassWithAnonymousFunction ()),
62
62
);
@@ -66,7 +66,7 @@ public function testCloverForClassWithAnonymousFunction(): void
66
66
* @param non-empty-string $expectationFile
67
67
* @param non-empty-string $cloverXml
68
68
*/
69
- private function validateAndAssert (string $ expectationFile , string $ cloverXml ): void
69
+ private function assertAndValidate (string $ expectationFile , string $ cloverXml ): void
70
70
{
71
71
$ this ->assertStringMatchesFormatFile ($ expectationFile , $ cloverXml );
72
72
0 commit comments