<commit_before>package util

import (
	"github.com/golang/mock/gomock"
	"github.com/stretchr/testify/assert"
	mockHttp "lib-compose/composition/mocks/net/http"
	"net/http"
	"net/http/httptest"
	"testing"
)

func Test_DelegateIsCalled(t *testing.T) {
	ctl := gomock.NewController(t)
	defer ctl.Finish()

	mockDelegator := mockHttp.NewMockHandler(ctl)
	fhh := NewForwardedHostHandler(mockDelegator)
<commit_msg>Fixed import path for httphandler mock<commit_after>package util

import (
	"github.com/golang/mock/gomock"
	"github.com/stretchr/testify/assert"
	mockHttp "github.com/tarent/lib-compose/composition/mocks/net/http"
	"net/http"
	"net/http/httptest"
	"testing"
)

func Test_DelegateIsCalled(t *testing.T) {
	ctl := gomock.NewController(t)
	defer ctl.Finish()

	mockDelegator := mockHttp.NewMockHandler(ctl)
	fhh := NewForwardedHostHandler(mockDelegator)

{'fraction_non_alphanumeric': 0.13124274099883856, 'fraction_numerical': 0.0, 'mean_word_length': 5.682170542635659, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5429945', 'n_tokens_mistral': 340, 'n_tokens_neox': 333, 'n_words': 47}