예제 #1
0
파일: boot.php 프로젝트: rickard2/utcw
 function getWPDBMock()
 {
     $wpdb = $this->testCase->getMock('testWPDB', array('get_results'), array(), '', false);
     $wpdb->posts = 'wp_posts';
     return $wpdb;
 }