public void CallsIntoClient()
            {
                var githubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableUserGpgKeysClient(githubClient);

                client.Create(new NewGpgKey("ABCDEFG"));

                githubClient.User.GpgKey.Received().Create(Arg.Is <NewGpgKey>(k => k.ArmoredPublicKey == "ABCDEFG"));
            }
            public void CallsIntoClient()
            {
                var githubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableUserGpgKeysClient(githubClient);

                client.Delete(1);

                githubClient.User.GpgKey.Received().Delete(1);
            }
            public void CallsIntoClient()
            {
                var githubClient = Substitute.For <IGitHubClient>();
                var client       = new ObservableUserGpgKeysClient(githubClient);

                client.GetAllForCurrent();

                githubClient.User.GpgKey.Received().GetAllForCurrent(Arg.Any <ApiOptions>());
            }