adapter = new WPDO_HivePress_Seo_Adapter(); } public function test_implements_adapter_interface(): void { $this->assertInstanceOf( WPDO_HivePress_Adapter::class, $this->adapter ); } public function test_identity(): void { $this->assertSame( 'hivepress-seo', $this->adapter->plugin_slug() ); $this->assertSame( 'HivePress\\Seo\\Plugin', $this->adapter->detection_class() ); } public function test_doctor_check_is_always_ok(): void { $result = $this->adapter->doctor_check(); $this->assertTrue( $result['ok'] ); $this->assertStringContainsString( 'filter-based', $result['message'] ); } public function test_score_aggregates_to_perfect_ten(): void { $this->assertSame( 10.0, $this->adapter->suitability_score()['aggregate'] ); } }