package initialize_test import ( "testing" "github.com/stretchr/testify/assert" "go.uber.org/zap" "penahub.gitlab.yandexcloud.net/pena-services/customer/internal/initialize" ) func TestNewControllers(t *testing.T) { t.Run("Контроллеры должны успешно инициализироваться", func(t *testing.T) { logger := zap.New(zap.L().Core()) assert.NotPanics(t, func() { controllers := initialize.NewControllers(&initialize.ControllersDeps{ Logger: logger, Services: &initialize.Services{}, }) assert.NotNil(t, controllers) assert.NotNil(t, controllers.AccountController) assert.NotNil(t, controllers.CurrencyController) }) }) }