MCPcopy Create free account
hub / github.com/docker/docker-agent / TestMultiProviderNone

Function TestMultiProviderNone

pkg/environment/multi_test.go:10–17  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestMultiProviderNone(t *testing.T) {
11 t.Parallel()
12 provider := NewMultiProvider()
13 value, found := provider.Get(t.Context(), "TEST1")
14
15 assert.Empty(t, value)
16 assert.False(t, found)
17}
18
19func TestMultiProviderDelegate(t *testing.T) {
20 t.Parallel()

Callers

nothing calls this directly

Calls 3

GetMethod · 0.95
NewMultiProviderFunction · 0.85
ContextMethod · 0.80

Tested by

no test coverage detected