public void ConvertSDKToAPI()
		{
			sdkAuthScheme1 = CreateTypicalSDKAuthScheme();
			apiAuthScheme1 = new AuthenticationMethodConverter(sdkAuthScheme1).ToAPIAuthMethod();

			Assert.AreEqual(AuthScheme.NONE, apiAuthScheme1);
		}
Exemple #2
0
        public void ConvertSDKToAPI()
        {
            sdkAuthScheme1 = CreateTypicalSDKAuthScheme();
            apiAuthScheme1 = new AuthenticationMethodConverter(sdkAuthScheme1).ToAPIAuthMethod();

            Assert.AreEqual(AuthScheme.NONE, apiAuthScheme1);
        }
		public void ConvertAPIToSDK()
		{
			apiAuthScheme1 = CreateTypicalAPIAuthScheme();
			sdkAuthScheme1 = new AuthenticationMethodConverter(apiAuthScheme1).ToSDKAuthMethod();

			Assert.AreEqual(sdkAuthScheme1.ToString(), apiAuthScheme1.ToString());
		}
Exemple #4
0
        public void ConvertAPIToSDK()
        {
            apiAuthScheme1 = CreateTypicalAPIAuthScheme();
            sdkAuthScheme1 = new AuthenticationMethodConverter(apiAuthScheme1).ToSDKAuthMethod();

            Assert.AreEqual(sdkAuthScheme1.ToString(), apiAuthScheme1.ToString());
        }