@@ -26,7 +26,7 @@ public function testLineCoverageForBankAccountTest(): void
2626 {
2727 $ clover = new Clover ;
2828
29- $ this ->validateAndAssert (
29+ $ this ->assertAndValidate (
3030 TEST_FILES_PATH . 'BankAccount-clover-line.xml ' ,
3131 $ clover ->process ($ this ->getLineCoverageForBankAccount (), null , 'BankAccount ' ),
3232 );
@@ -36,7 +36,7 @@ public function testPathCoverageForBankAccountTest(): void
3636 {
3737 $ clover = new Clover ;
3838
39- $ this ->validateAndAssert (
39+ $ this ->assertAndValidate (
4040 TEST_FILES_PATH . 'BankAccount-clover-path.xml ' ,
4141 $ clover ->process ($ this ->getPathCoverageForBankAccount (), null , 'BankAccount ' ),
4242 );
@@ -46,7 +46,7 @@ public function testCloverForFileWithIgnoredLines(): void
4646 {
4747 $ clover = new Clover ;
4848
49- $ this ->validateAndAssert (
49+ $ this ->assertAndValidate (
5050 TEST_FILES_PATH . 'ignored-lines-clover.xml ' ,
5151 $ clover ->process ($ this ->getCoverageForFileWithIgnoredLines ()),
5252 );
@@ -56,7 +56,7 @@ public function testCloverForClassWithAnonymousFunction(): void
5656 {
5757 $ clover = new Clover ;
5858
59- $ this ->validateAndAssert (
59+ $ this ->assertAndValidate (
6060 TEST_FILES_PATH . 'class-with-anonymous-function-clover.xml ' ,
6161 $ clover ->process ($ this ->getCoverageForClassWithAnonymousFunction ()),
6262 );
@@ -66,7 +66,7 @@ public function testCloverForClassWithAnonymousFunction(): void
6666 * @param non-empty-string $expectationFile
6767 * @param non-empty-string $cloverXml
6868 */
69- private function validateAndAssert (string $ expectationFile , string $ cloverXml ): void
69+ private function assertAndValidate (string $ expectationFile , string $ cloverXml ): void
7070 {
7171 $ this ->assertStringMatchesFormatFile ($ expectationFile , $ cloverXml );
7272
0 commit comments