MCPcopy Create free account
hub / github.com/devfeel/dotweb / TestNotifyPlugin_IsValidate

Function TestNotifyPlugin_IsValidate

plugin_test.go:32–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

30}
31
32func TestNotifyPlugin_IsValidate(t *testing.T) {
33 app := newConfigDotWeb()
34 p := NewDefaultNotifyPlugin(app)
35 needShow := true
36 test.Equal(t, needShow, p.IsValidate())
37}

Callers

nothing calls this directly

Calls 4

EqualFunction · 0.92
newConfigDotWebFunction · 0.85
NewDefaultNotifyPluginFunction · 0.85
IsValidateMethod · 0.65

Tested by

no test coverage detected