package initialize_test import ( "testing" "github.com/stretchr/testify/assert" "penahub.gitlab.yandexcloud.net/pena-services/pena-social-auth/internal/initialize" ) func TestNewControllers(t *testing.T) { t.Run("Контроллеры должны успешно инициализироваться", func(t *testing.T) { assert.NotPanics(t, func() { controllers := initialize.NewControllers(&initialize.ControllersDeps{ Services: &initialize.Services{}, }) assert.NotNil(t, controllers) assert.NotNil(t, controllers.AmocrmController) assert.NotNil(t, controllers.GoogleController) assert.NotNil(t, controllers.VKController) }) }) }