Add some more methods to phpunit hhi

parent 9efdf542
...@@ -2,10 +2,16 @@ ...@@ -2,10 +2,16 @@
namespace { namespace {
class PHPUnit_Framework_TestCase { class PHPUnit_Framework_TestCase {
public function assertSame(mixed $expect, mixed $actual, ?string $msg = null);
public function assertNotSame(mixed $expect, mixed $actual, ?string $msg = null);
public function assertEquals(mixed $expect, mixed $actual, ?string $msg = null); public function assertEquals(mixed $expect, mixed $actual, ?string $msg = null);
public function assertNotEquals(mixed $expect, mixed $actual, ?string $msg = null); public function assertNotEquals(mixed $expect, mixed $actual, ?string $msg = null);
public function assertContains(mixed $key, array $array, ?string $msg = null); public function assertContains(mixed $key, array $array, ?string $msg = null);
public function assertNotContains(mixed $key, array $array, ?string $msg = null); public function assertNotContains(mixed $key, array $array, ?string $msg = null);
public function assertInstanceOf(string $expected, mixed $actual, ?string $msg = null);
public function assertNotInstanceOf(string $expected, mixed $actual, ?string $msg = null);
public function assertNull(mixed $actual, ?string $msg = null);
public function assertNotNull(mixed $actual, ?string $msg = null);
public function fail(string $msg); public function fail(string $msg);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment