func (p *Pact) Teardown() *Pact {
	log.Println("[DEBUG] teardown")
	if p.Server != nil {
		server, err := p.pactClient.StopServer(p.Server)

		if err != nil {
			log.Println("error:", err)
		}
		p.Server = server
	}
	return p
}
func (p *Pact) Teardown() *Pact {
	log.Println("[DEBUG] teardown")
	if p.Server != nil {
		server, err := p.pactClient.StopServer(p.Server)

		if err != nil {
			log.Println("error:", err)
		}
		p.Server = server
	}
	return p
}
func ( p * Pact ) Teardown ( ) * Pact { log . Println ( " " ) if p . Server != nil { server , err := p . pactClient . StopServer ( p . Server ) if err != nil { log . Println ( " " , err ) } p . Server = server } return p }
// Teardown stops the Pact Mock Server. This usually is called on completion
// of each test suite.
Teardown stops the Pact Mock Server . This usually is called on completion of each test suite .