INNER CODE UNIT · Go
TestAPIGatewayV1Base64BodyResponseAll
akrylysov/algnhsa · apigw_v1_test.go:309
func TestAPIGatewayV1Base64BodyResponseAll(t *testing.T) {
testBodyResponseAll(t, apiGatewayV1TestEvent)
}
func TestAPIGatewayV1Base64BodyResponseNoMatch(t *testing.T) {
testBase64BodyResponseNoMatch(t, apiGatewayV1TestEvent)
}
func TestAPIGatewayV1Base64BodyResponseMatch(t *testing.T) {
testBase64BodyResponseMatch(t, apiGatewayV1TestEvent)
}
func testBodyContentEncodingResponseAll(t *testing.T, event string) {
t.Helper()
asrt := assert.New(t)
handler := func(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "Hello from Lambda!")