func (mmTracer *mOpentelemetryTracerProviderMockTracer) Inspect(f func(instrumentationName string, opts ...mm_trace.TracerOption)) *mOpentelemetryTracerProviderMockTracer {
	if mmTracer.mock.inspectFuncTracer != nil {
		mmTracer.mock.t.Fatalf("Inspect function is already set for OpentelemetryTracerProviderMock.Tracer")
	}
	mmTracer.mock.inspectFuncTracer = f
	return mmTracer
}
Inspect accepts an inspector function that has same arguments as the TracerProvider.Tracer
package templatestests
import (
	"sync"
	mm_atomic "sync/atomic"
	mm_time "time"
	"github.com/gojuno/minimock/v3"
	mm_trace "go.opentelemetry.io/otel/trace"
)
type OpentelemetryTracerProviderMock struct {
	t minimock.Tester
	funcTracer          func(instrumentationName string, opts ...mm_trace.TracerOption) (t1 mm_trace.Tracer)
	inspectFuncTracer   func(instrumentationName string, opts ...mm_trace.TracerOption)
	afterTracerCounter  uint64
	beforeTracerCounter uint64
	TracerMock          mOpentelemetryTracerProviderMockTracer
}
func NewOpentelemetryTracerProviderMock(t minimock.Tester) *OpentelemetryTracerProviderMock {
	m := &OpentelemetryTracerProviderMock{t: t}
	if controller, ok := t.(minimock.MockController); ok {
		controller.RegisterMocker(m)
	}
	m.TracerMock = mOpentelemetryTracerProviderMockTracer{mock: m}
	m.TracerMock.callArgs = []*OpentelemetryTracerProviderMockTracerParams{}
	return m
}
type mOpentelemetryTracerProviderMockTracer struct {
	mock               *OpentelemetryTracerProviderMock
	defaultExpectation *OpentelemetryTracerProviderMockTracerExpectation
	expectations       []*OpentelemetryTracerProviderMockTracerExpectation
	callArgs []*OpentelemetryTracerProviderMockTracerParams
	mutex    sync.RWMutex
}
type OpentelemetryTracerProviderMockTracerExpectation struct {
	mock    *OpentelemetryTracerProviderMock
	params  *OpentelemetryTracerProviderMockTracerParams
	results *OpentelemetryTracerProviderMockTracerResults
	Counter uint64
}
type OpentelemetryTracerProviderMockTracerParams struct {
	instrumentationName string
	opts                []mm_trace.TracerOption
}
type OpentelemetryTracerProviderMockTracerResults struct {
	t1 mm_trace.Tracer
}
func (mmTracer *mOpentelemetryTracerProviderMockTracer) Expect(instrumentationName string, opts ...mm_trace.TracerOption) *mOpentelemetryTracerProviderMockTracer {
	if mmTracer.mock.funcTracer != nil {
		mmTracer.mock.t.Fatalf("OpentelemetryTracerProviderMock.Tracer mock is already set by Set")
	}
	if mmTracer.defaultExpectation == nil {
		mmTracer.defaultExpectation = &OpentelemetryTracerProviderMockTracerExpectation{}
	}
	mmTracer.defaultExpectation.params = &OpentelemetryTracerProviderMockTracerParams{instrumentationName, opts}
	for _, e := range mmTracer.expectations {
		if minimock.Equal(e.params, mmTracer.defaultExpectation.params) {
			mmTracer.mock.t.Fatalf("Expectation set by When has same params: %#v", *mmTracer.defaultExpectation.params)
		}
	}
	return mmTracer
}