Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServerForge ¶
MockServerForge is an autogenerated mock type for the ServerForge type
func NewMockServerForge ¶
func NewMockServerForge(t interface {
mock.TestingT
Cleanup(func())
}) *MockServerForge
NewMockServerForge creates a new instance of MockServerForge. 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 (*MockServerForge) EXPECT ¶
func (_m *MockServerForge) EXPECT() *MockServerForge_Expecter
func (*MockServerForge) Name ¶
func (_mock *MockServerForge) Name() string
Name provides a mock function for the type MockServerForge
func (*MockServerForge) URL ¶
func (_mock *MockServerForge) URL() string
URL provides a mock function for the type MockServerForge
type MockServerForge_Expecter ¶
type MockServerForge_Expecter struct {
// contains filtered or unexported fields
}
func (*MockServerForge_Expecter) Name ¶
func (_e *MockServerForge_Expecter) Name() *MockServerForge_Name_Call
Name is a helper method to define mock.On call
func (*MockServerForge_Expecter) URL ¶
func (_e *MockServerForge_Expecter) URL() *MockServerForge_URL_Call
URL is a helper method to define mock.On call
type MockServerForge_Name_Call ¶
MockServerForge_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*MockServerForge_Name_Call) Return ¶
func (_c *MockServerForge_Name_Call) Return(s string) *MockServerForge_Name_Call
func (*MockServerForge_Name_Call) Run ¶
func (_c *MockServerForge_Name_Call) Run(run func()) *MockServerForge_Name_Call
func (*MockServerForge_Name_Call) RunAndReturn ¶
func (_c *MockServerForge_Name_Call) RunAndReturn(run func() string) *MockServerForge_Name_Call
type MockServerForge_URL_Call ¶
MockServerForge_URL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URL'
func (*MockServerForge_URL_Call) Return ¶
func (_c *MockServerForge_URL_Call) Return(s string) *MockServerForge_URL_Call
func (*MockServerForge_URL_Call) Run ¶
func (_c *MockServerForge_URL_Call) Run(run func()) *MockServerForge_URL_Call
func (*MockServerForge_URL_Call) RunAndReturn ¶
func (_c *MockServerForge_URL_Call) RunAndReturn(run func() string) *MockServerForge_URL_Call