SnsRequestHandler extends SimpleRequestHandler<SnsRecordAndLambdaContext, Void> { @Nonnull protected Map<String, List<String>> createHeaders(@Nonnull SnsRecordAndLambdaContext snsRecordAndContext) { return Collections.singletonMap(HttpHeaders.CONTENT_TYPE, Collections.singletonList(MediaType.APPLICATION_JSON)); } protected  SnsRequestHandler(); void handleReponse(SnsRecordAndLambdaContext snsRecordAndContext, StatusType statusType,
			Map<String, List<String>> headers, ByteArrayOutputStream entityOutputStream);  }
@Test public void createHeaders_ShouldAlwaysJsonContentTypeHeaders() { Map<String, List<String>> expectedHeaders = Collections.singletonMap(HttpHeaders.CONTENT_TYPE, Collections.singletonList(MediaType.APPLICATION_JSON)); assertEquals(expectedHeaders, new SnsRequestHandlerImpl().createHeaders(null)); assertEquals(expectedHeaders, new SnsRequestHandlerImpl().createHeaders(createMinimalRequest())); }