package initialize_test import ( "testing" "github.com/stretchr/testify/assert" "penahub.gitlab.yandexcloud.net/pena-services/customer/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.AccountController) }) }) }