Registry / testing / pestphp-pest-plugin-mock

pestphp-pest-plugin-mock

JSON →
library2.0.0phppackagistunverified

Adds mocking capabilities to Pest or PHPUnit

composer require pestphp/pest-plugin-mock
INSTALL
IMPORT
SIG · PESTPHP-PEST-PLUGI
P
pestphp-pest-plugin-mock
testingphpv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mock
use Pest\Plugin\Mock\Mock;

Create a mock object using Pest Mock Plugin

use Pest\Plugin\Mock\Mock; $mock = Mock::create(SomeClass::class); $mock->expects($this->once())->method('someMethod');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pestphp-pest-plugin-mock — pip install pestphp-pest-plugin-mock · libregistry