public function testGetConnectionReturnsWpdbInstance() { if (!defined('WPINC')) { $this->markTestSkipped('Not running in WP plugin context'); } $this->assertInstanceOf('\\wpdb', $this->db->getConnection()); }