WPDB_Mock

The Contact Form DB WPDB Mock class.

Defined (1)

The class is defined in the following location(s).

/phpunit/WPDB_Mock.php  
  1. class WPDB_Mock { 
  2. var $prefix = 'wp_'; 
  3.  
  4. var $getResultReturnVal; 
  5.  
  6. public function get_results($sql) { 
  7. return $this->getResultReturnVal;