github.com/jcmturner/gokrb5/v8@v8.4.4/service/authenticator_test.go (about) 1 package service 2 3 import ( 4 "testing" 5 6 "github.com/jcmturner/goidentity/v6" 7 "github.com/stretchr/testify/assert" 8 ) 9 10 func TestImplementsInterface(t *testing.T) { 11 t.Parallel() 12 //s := new(SPNEGOAuthenticator) 13 var s KRB5BasicAuthenticator 14 a := new(goidentity.Authenticator) 15 assert.Implements(t, a, s, "SPNEGOAuthenticator type does not implement the goidentity.Authenticator interface") 16 }