Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventMock ¶
EventMock acts as a container for event mocks.
func NewEventMock ¶
func NewEventMock(t *testing.T, notarization notarization.Notarization) *EventMock
NewEventMock creates a new EventMock.
func (*EventMock) AssertExpectations ¶
AssertExpectations asserts expectations.
func (*EventMock) DetachAll ¶
func (e *EventMock) DetachAll()
DetachAll detaches all event handlers.
func (*EventMock) SlotCommittable ¶
func (e *EventMock) SlotCommittable(details *notarization.SlotCommittedDetails)
SlotCommittable is the mocked SlotCommittable event.
Click to show internal directories.
Click to hide internal directories.