public void RequestsCorrectUrl()
            {
                var endpoint = new Uri("user/keys/42", UriKind.Relative);
                var client = Substitute.For<IApiConnection>();
                var sshKeysClient = new SshKeysClient(client);

                sshKeysClient.Get(42);

                client.Received().Get<SshKey>(endpoint);
            }
            public void RequestsCorrectUrl()
            {
                var endpoint      = new Uri("user/keys/42", UriKind.Relative);
                var client        = Substitute.For <IApiConnection>();
                var sshKeysClient = new SshKeysClient(client);

                sshKeysClient.Get(42);

                client.Received().Get <SshKey>(endpoint);
            }