package serverruntime

import (
	"testing"

	"github.com/pingcap-inc/nexuscrm-api-host/hostruntime"
)

// TestSessionAuthenticatorSatisfiesTheBrowserPort pins that the adapter implements
// the cookie-only port. Without this, the wiring step would only discover a missing
// method when someone tried to mount the handler.
//
// The session mapping itself is no longer adapter-specific: the browser path now
// returns the same kernel session the login path builds, so hostSessionFromAuth —
// already covered by the bearer path — is reused. The bespoke projection mapper this
// file used to test is gone, and with it the risk of the two paths disagreeing.
func TestSessionAuthenticatorSatisfiesTheBrowserPort(t *testing.T) {
	var _ hostruntime.BrowserSessionAuthenticator = apiHostSessionAuthenticator{}
}
