makePartial(); Functions\expect('dbDelta')->once(); Functions\expect('update_option')->once()->with('lit_mcp_db_version', '1'); Functions\when('wp_next_scheduled')->justReturn(false); Functions\expect('wp_schedule_event')->once(); Lifecycle::activate(); } public function testDeactivateUnschedulesTheCleanup(): void { Functions\expect('wp_clear_scheduled_hook')->once()->with('lit_mcp_log_cleanup'); Lifecycle::deactivate(); } }