public void TestVerifiyCredentialsNotEmpty()
        {
            var sut = new AccountMethods(CredentialContextFixture.CredentialContext);

            var credentials = sut.VerifyCredentials();

            _output.WriteLine(credentials);

            Assert.False(string.IsNullOrEmpty(credentials));
            Assert.Contains("id", credentials);
            Assert.Contains("username", credentials);
        }
        public void InvalidCredentialsIsReturnedWhenInvalidCredentialIsPassed(string userName, string password)
        {
            ICredentialContext credentialContext = new CredentialContext
            {
                UserName = userName,
                Password = password
            };
            var sut = new AccountMethods(credentialContext);

            string actual = sut.VerifyCredentials();

            _output.WriteLine(actual);

            const string expected = "Invalid credentials";

            Assert.True(expected == actual);
        }