MCPcopy
hub / github.com/baetyl/baetyl / EXPECT

Method EXPECT

mock/ami.go:35–37  ·  view source on GitHub ↗

EXPECT returns an object that allows the caller to indicate expected use

()

Source from the content-addressed store, hash-verified

33
34// EXPECT returns an object that allows the caller to indicate expected use
35func (m *MockAMI) EXPECT() *MockAMIMockRecorder {
36 return m.recorder
37}
38
39// CollectNodeInfo mocks base method
40func (m *MockAMI) CollectNodeInfo() (map[string]interface{}, error) {

Callers 13

TestCollectFunction · 0.95
TestApplyAppFunction · 0.95
TestReportAndApplyFunction · 0.95
TestGetServiceLogFunction · 0.95
TestNewChainFunction · 0.95
TestChainMsgFunction · 0.95
TestActivate_Err_AmiFunction · 0.95
TestActivateFunction · 0.95
TestHandlerDownsideFunction · 0.45

Calls

no outgoing calls

Tested by 13

TestCollectFunction · 0.76
TestApplyAppFunction · 0.76
TestReportAndApplyFunction · 0.76
TestGetServiceLogFunction · 0.76
TestNewChainFunction · 0.76
TestChainMsgFunction · 0.76
TestActivate_Err_AmiFunction · 0.76
TestActivateFunction · 0.76
TestHandlerDownsideFunction · 0.36