type testRoundTripper … func (rt *testRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { … } func BenchmarkDiskCache(b *testing.B) { … } func TestCacheRoundTripper(t *testing.T) { … } func TestCacheRoundTripperPathPerm(t *testing.T) { … } func TestSumDiskCache(t *testing.T) { … }