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()); }