From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Fri, 27 Dec 2024 22:53:47 +0100
Subject: Rename BaseMatcherTest as BaseMatcherTestCase

Bug-Debian: https://bugs.debian.org/1070553
---
 tests/Hamcrest/BaseMatcherTest.php     | 23 -----------------------
 tests/Hamcrest/BaseMatcherTestCase.php | 23 +++++++++++++++++++++++
 tests/Hamcrest/InvokedMatcherTest.php  |  2 +-
 3 files changed, 24 insertions(+), 24 deletions(-)
 delete mode 100644 tests/Hamcrest/BaseMatcherTest.php
 create mode 100644 tests/Hamcrest/BaseMatcherTestCase.php

diff --git a/tests/Hamcrest/BaseMatcherTest.php b/tests/Hamcrest/BaseMatcherTest.php
deleted file mode 100644
index 833e2c3..0000000
--- a/tests/Hamcrest/BaseMatcherTest.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-namespace Hamcrest;
-
-/* Test-specific subclass only */
-class BaseMatcherTest extends \Hamcrest\BaseMatcher
-{
-
-    public function matches($item)
-    {
-        throw new \RuntimeException();
-    }
-
-    public function describeTo(\Hamcrest\Description $description)
-    {
-        $description->appendText('SOME DESCRIPTION');
-    }
-
-    public function testDescribesItselfWithToStringMethod()
-    {
-        $someMatcher = new \Hamcrest\SomeMatcher();
-        $this->assertEquals('SOME DESCRIPTION', (string) $someMatcher);
-    }
-}
diff --git a/tests/Hamcrest/BaseMatcherTestCase.php b/tests/Hamcrest/BaseMatcherTestCase.php
new file mode 100644
index 0000000..f230b4d
--- /dev/null
+++ b/tests/Hamcrest/BaseMatcherTestCase.php
@@ -0,0 +1,23 @@
+<?php
+namespace Hamcrest;
+
+/* Test-specific subclass only */
+class BaseMatcherTestCase extends \Hamcrest\BaseMatcher
+{
+
+    public function matches($item)
+    {
+        throw new \RuntimeException();
+    }
+
+    public function describeTo(\Hamcrest\Description $description)
+    {
+        $description->appendText('SOME DESCRIPTION');
+    }
+
+    public function testDescribesItselfWithToStringMethod()
+    {
+        $someMatcher = new \Hamcrest\SomeMatcher();
+        $this->assertEquals('SOME DESCRIPTION', (string) $someMatcher);
+    }
+}
diff --git a/tests/Hamcrest/InvokedMatcherTest.php b/tests/Hamcrest/InvokedMatcherTest.php
index dfa7700..4c545d8 100644
--- a/tests/Hamcrest/InvokedMatcherTest.php
+++ b/tests/Hamcrest/InvokedMatcherTest.php
@@ -3,7 +3,7 @@ namespace Hamcrest;
 
 use PHPUnit\Framework\TestCase;
 
-class SampleInvokeMatcher extends BaseMatcherTest
+class SampleInvokeMatcher extends BaseMatcherTestCase
 {
     private $matchAgainst;
 
