/**
  * Register filters and actions to WordPress.
  *
  * @return void
  */
 public function run(AliyunOpenSearchAdmin $admin, AliyunOpenSearchFrontend $frontend)
 {
     $frontend->run();
     $admin->run();
 }
 public function testEnqueueScripts()
 {
     $this->admin->enqueueScripts();
     $this->assertTrue(has_asset(plugin_dir_url(__DIR__) . 'admin/js/opensearch.js'));
 }