\Dewdrop\Db\AdapterMockWpdb

A mock wpdb class that doesn't ever interact with the DB directly. It simply lets you detect when certain methods are called during testing to ensure application logic is functioning as expected.

Summary

Methods
Properties
Constants
__call()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__call()

__call(string  $method, array  $args) 

Prevent any errors from being generated while testing by providing a generic fallback for all wpdb calls.

Parameters

string $method
array $args