Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package connectparticipantdouble contains test double implementation of connectparticipantiface.ConnectParticipantAPI

Package connectparticipantdouble provides a TestDouble implementation of connectparticipantiface.ConnectParticipantAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectParticipantDouble

type ConnectParticipantDouble struct {
	connectparticipantiface.ConnectParticipantAPI
	*awsdouble.AWSTestDouble
}

    ConnectParticipantDouble is TestDouble for connectparticipantiface.ConnectParticipantAPI

    func NewDouble

    func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *ConnectParticipantDouble

      Constructor for ConnectParticipantDouble Default configuration will ensure

      * API operations not explicitly stubbed will return an empty output struct pointer, and nil error.
        To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.
      * WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled
         before the method is called.
      * Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.
      
       This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the
         Context or Pagination forms of the API.
      

      func (*ConnectParticipantDouble) GetTranscript

      func (*ConnectParticipantDouble) GetTranscriptPages

      func (*ConnectParticipantDouble) GetTranscriptPagesWithContext

      func (*ConnectParticipantDouble) GetTranscriptRequest

      func (*ConnectParticipantDouble) GetTranscriptWithContext

      func (*ConnectParticipantDouble) SendEvent

      func (*ConnectParticipantDouble) SendEventRequest

      func (*ConnectParticipantDouble) SendEventWithContext

      func (*ConnectParticipantDouble) SendMessage

      func (*ConnectParticipantDouble) SendMessageRequest

      func (*ConnectParticipantDouble) SendMessageWithContext