const rootCACert … const certData … const keyData … func TestNew(t *testing.T) { … } type fakeRoundTripper … func (rt *fakeRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { … } type chainRoundTripper … func testChain(value string) WrapperFunc { … } func (rt *chainRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { … } func TestWrappers(t *testing.T) { … } func Test_contextCanceller_RoundTrip(t *testing.T) { … }