Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSession ¶
MockSession is an autogenerated mock type for the Session type
func NewMockSession ¶ added in v0.3.0
func NewMockSession(t interface { mock.TestingT Cleanup(func()) }) *MockSession
NewMockSession creates a new instance of MockSession. 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 (*MockSession) Close ¶
func (_m *MockSession) Close()
Close provides a mock function with given fields:
func (*MockSession) ExecuteScript ¶
func (_m *MockSession) ExecuteScript(ctx context.Context, script string) error
ExecuteScript provides a mock function with given fields: ctx, script
Click to show internal directories.
Click to hide internal directories.