public function registerMessage(Message $message): bool
    {
        $uri = $this->config->getBaseUri()->withPath('/interactions');

        $body = \json_encode($message->jsonSerialize());

        $this->client->post($uri, [
            'headers' => [
                'Content-Type'        => 'application/json',
                'X-Pact-Mock-Service' => true,
            ],
            'body' => $body,
        ]);

        return true;
    }