Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expectation ¶
type Expectation struct { Request Request Response ResponseOrError Matched bool }
type ResponseOrError ¶
type ResponseOrError struct { Response aurestclientapi.ParsedResponse Error error }
type VerifierImpl ¶
type VerifierImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New() (aurestclientapi.Client, *VerifierImpl)
func (*VerifierImpl) AddExpectation ¶
func (c *VerifierImpl) AddExpectation(requestMatcher Request, response aurestclientapi.ParsedResponse, err error)
func (*VerifierImpl) FirstUnexpectedOrNil ¶
func (c *VerifierImpl) FirstUnexpectedOrNil() *Request
func (*VerifierImpl) Perform ¶
func (c *VerifierImpl) Perform(ctx context.Context, method string, requestUrl string, requestBody interface{}, response *aurestclientapi.ParsedResponse) error
Click to show internal directories.
Click to hide internal directories.