Documentation ¶
Index ¶
- type MockTemplateWriter
- func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
- func (mock *MockTemplateWriter) FailHandler() pegomock.FailHandler
- func (mock *MockTemplateWriter) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierMockTemplateWriter
- type MockTemplateWriter_Execute_OngoingVerification
- type VerifierMockTemplateWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTemplateWriter ¶
type MockTemplateWriter struct {
// contains filtered or unexported fields
}
func NewMockTemplateWriter ¶
func NewMockTemplateWriter(options ...pegomock.Option) *MockTemplateWriter
func (*MockTemplateWriter) Execute ¶
func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
func (*MockTemplateWriter) FailHandler ¶
func (mock *MockTemplateWriter) FailHandler() pegomock.FailHandler
func (*MockTemplateWriter) SetFailHandler ¶
func (mock *MockTemplateWriter) SetFailHandler(fh pegomock.FailHandler)
func (*MockTemplateWriter) VerifyWasCalled ¶
func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledEventually ¶
func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledInOrder ¶
func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledOnce ¶
func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierMockTemplateWriter
type MockTemplateWriter_Execute_OngoingVerification ¶
type MockTemplateWriter_Execute_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockTemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockTemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []io.Writer, _param1 []interface{})
func (*MockTemplateWriter_Execute_OngoingVerification) GetCapturedArguments ¶
func (c *MockTemplateWriter_Execute_OngoingVerification) GetCapturedArguments() (io.Writer, interface{})
type VerifierMockTemplateWriter ¶
type VerifierMockTemplateWriter struct {
// contains filtered or unexported fields
}
func (*VerifierMockTemplateWriter) Execute ¶
func (verifier *VerifierMockTemplateWriter) Execute(wr io.Writer, data interface{}) *MockTemplateWriter_Execute_OngoingVerification
Click to show internal directories.
Click to hide internal directories.