You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: factory_test.go
    path of file: ./repos/botkube/internal/source/kubernetes/recommendation
    
    the code of the file until where you have to start completion: package recommendation_test

import (
	"testing"

	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"

	"github.com/kubeshop/botkube/internal/source/kubernetes/config"
	"github.com/kubeshop/botkube/internal/source/kubernetes/recommendation"
	"github.com/kubeshop/botkube/pkg/loggerx"
	"github.com/kubeshop/botkube/pkg/ptr"
)

func TestFactory_New(t *testing.T) {
	// given

	cfg := config.Config{
		Recommendations: &config.Recommendations{
			Pod: config.PodRecommendations{
				LabelsSet:        ptr.FromType(true),
				NoLatestImageTag: ptr.FromType(false),
			},
			Ingress: config.IngressRecomme
    
func TestFactory_New(t *testing.T) {
	// given

	cfg := config.Config{
		Recommendations: &config.Recommendations{
			Pod: config.PodRecommendations{
				LabelsSet:        ptr.FromType(true),
				NoLatestImageTag: ptr.FromType(false),
			},
			Ingress: config.IngressRecommendations{
				BackendServiceValid: ptr.FromType(true),
				// keep TLSSecretValid not specified
			},
		},
	}
	expectedNames := []string{
		"PodLabelsSet",
		"IngressBackendServiceValid",
	}
	expectedRecCfg := config.Recommendations{
		Pod: config.PodRecommendations{
			NoLatestImageTag: ptr.FromType(false),
			LabelsSet:        ptr.FromType(true),
		},
		Ingress: config.IngressRecommendations{
			BackendServiceValid: ptr.FromType(true),
			TLSSecretValid:      nil,
		},
	}

	factory := recommendation.NewFactory(loggerx.NewNoop(), nil)

	// when
	recRunner, recCfg := factory.New(cfg)
	actualRecomms := recRunner.Recommendations()

	// then
	assert.Equal(t, expectedRecCfg, recCfg)
	require.Len(t, actualRecomms, len(expectedNames))

	var actualNames []string
	for _, r := range actualRecomms {
		actualNames = append(actualNames, r.Name())
	}

	assert.Equal(t, expectedNames, actualNames)
}