VerifyCredentials() public method

Check if the credential is valid or not
public VerifyCredentials ( ) : string
return string
		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 ThrowsExceptionWhenInvalidCredentialIsPassed(string userName, string password)
		{
			ICredentialContext credentialContext = new CredentialContext
			{
				UserName = userName,
				Password = password
			};
			var sut = new AccountMethods(credentialContext);

			Assert.Throws<WebException>(() =>
			{
				var response = sut.VerifyCredentials();
				_output.WriteLine(response);
			});
		}