Documentation
¶
Index ¶
- type MockApplicationDefinition
- type MockApplicationDefinition_Expecter
- type MockApplicationDefinition_Features_Call
- func (_c *MockApplicationDefinition_Features_Call) Return(features definition.Features) *MockApplicationDefinition_Features_Call
- func (_c *MockApplicationDefinition_Features_Call) Run(run func()) *MockApplicationDefinition_Features_Call
- func (_c *MockApplicationDefinition_Features_Call) RunAndReturn(run func() definition.Features) *MockApplicationDefinition_Features_Call
- type MockMessageCatalog
- type MockMessageCatalog_Expecter
- type MockMessageCatalog_Get_Call
- func (_c *MockMessageCatalog_Get_Call) Return(s string) *MockMessageCatalog_Get_Call
- func (_c *MockMessageCatalog_Get_Call) Run(run func(message messages.MessageKey)) *MockMessageCatalog_Get_Call
- func (_c *MockMessageCatalog_Get_Call) RunAndReturn(run func(message messages.MessageKey) string) *MockMessageCatalog_Get_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationDefinition ¶
MockApplicationDefinition is an autogenerated mock type for the ApplicationDefinition type
func NewMockApplicationDefinition ¶
func NewMockApplicationDefinition(t interface {
mock.TestingT
Cleanup(func())
}) *MockApplicationDefinition
NewMockApplicationDefinition creates a new instance of MockApplicationDefinition. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockApplicationDefinition) EXPECT ¶
func (_m *MockApplicationDefinition) EXPECT() *MockApplicationDefinition_Expecter
func (*MockApplicationDefinition) Features ¶
func (_mock *MockApplicationDefinition) Features() definition.Features
Features provides a mock function for the type MockApplicationDefinition
type MockApplicationDefinition_Expecter ¶
type MockApplicationDefinition_Expecter struct {
// contains filtered or unexported fields
}
func (*MockApplicationDefinition_Expecter) Features ¶
func (_e *MockApplicationDefinition_Expecter) Features() *MockApplicationDefinition_Features_Call
Features is a helper method to define mock.On call
type MockApplicationDefinition_Features_Call ¶
MockApplicationDefinition_Features_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Features'
func (*MockApplicationDefinition_Features_Call) Return ¶
func (_c *MockApplicationDefinition_Features_Call) Return(features definition.Features) *MockApplicationDefinition_Features_Call
func (*MockApplicationDefinition_Features_Call) Run ¶
func (_c *MockApplicationDefinition_Features_Call) Run(run func()) *MockApplicationDefinition_Features_Call
func (*MockApplicationDefinition_Features_Call) RunAndReturn ¶
func (_c *MockApplicationDefinition_Features_Call) RunAndReturn(run func() definition.Features) *MockApplicationDefinition_Features_Call
type MockMessageCatalog ¶
MockMessageCatalog is an autogenerated mock type for the MessageCatalog type
func NewMockMessageCatalog ¶
func NewMockMessageCatalog(t interface {
mock.TestingT
Cleanup(func())
}) *MockMessageCatalog
NewMockMessageCatalog creates a new instance of MockMessageCatalog. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockMessageCatalog) EXPECT ¶
func (_m *MockMessageCatalog) EXPECT() *MockMessageCatalog_Expecter
func (*MockMessageCatalog) Get ¶
func (_mock *MockMessageCatalog) Get(message messages.MessageKey) string
Get provides a mock function for the type MockMessageCatalog
type MockMessageCatalog_Expecter ¶
type MockMessageCatalog_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMessageCatalog_Expecter) Get ¶
func (_e *MockMessageCatalog_Expecter) Get(message interface{}) *MockMessageCatalog_Get_Call
Get is a helper method to define mock.On call
- message messages.MessageKey
type MockMessageCatalog_Get_Call ¶
MockMessageCatalog_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockMessageCatalog_Get_Call) Return ¶
func (_c *MockMessageCatalog_Get_Call) Return(s string) *MockMessageCatalog_Get_Call
func (*MockMessageCatalog_Get_Call) Run ¶
func (_c *MockMessageCatalog_Get_Call) Run(run func(message messages.MessageKey)) *MockMessageCatalog_Get_Call
func (*MockMessageCatalog_Get_Call) RunAndReturn ¶
func (_c *MockMessageCatalog_Get_Call) RunAndReturn(run func(message messages.MessageKey) string) *MockMessageCatalog_Get_Call