diff --git a/composer.json b/composer.json index 0360c70..ad0d2c8 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,8 @@ "php": ">=8.0" }, "require-dev": { + "brain/monkey": "^2.6", + "mockery/mockery": "^1.6", "phpunit/phpunit": "^9.6" }, "autoload-dev": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..68a5fff --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,20 @@ + + + + + tests + tests/bootstrap.php + tests/TestCase.php + + + diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..1b9e9e0 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,24 @@ +