testingutils

package
v0.0.0-...-3943c12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyContext

func AnyContext() gomock.Matcher

Types

type AssertableResponse

type AssertableResponse struct {
	*httptest.ResponseRecorder
	T *testing.T
}

func (AssertableResponse) ContentTypeIsJson

func (r AssertableResponse) ContentTypeIsJson()

func (AssertableResponse) StatusCodeIs

func (r AssertableResponse) StatusCodeIs(status string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL