internal/plugin/connectors/tcp/proxy_service_test.go
Function TestProxyService_Start
has 178 lines of code (exceeds 70 allowed). Consider refactoring. Open
Open
func TestProxyService_Start(t *testing.T) {
t.Run("stopped proxy service cannot be restarted", func(t *testing.T) {
connector := mock.NewConnector()
credentialRetriever := mock.NewCredentialRetriever()
listener := mock.NewListener()