func TestCertRotation(t *testing.T) { … } func TestCertRotationContinuousRequests(t *testing.T) { … } func writeCACertFiles(t *testing.T, certDir string) (string, *x509.Certificate, *rsa.PrivateKey) { … } func writeCerts(t *testing.T, clientSigningCert *x509.Certificate, clientSigningKey *rsa.PrivateKey, certDir string, duration time.Duration) (string, string) { … }