public void ConvertSDKToSDK() { sdkAuth1 = CreateTypicalSDKAuthentication(); converter = new AuthenticationConverter(sdkAuth1); sdkAuth2 = converter.ToSDKAuthentication(); Assert.IsNotNull(sdkAuth2); Assert.AreEqual(sdkAuth2, sdkAuth1); }
public void ConvertNullSDKToSDK() { sdkAuth1 = null; converter = new AuthenticationConverter(sdkAuth1); Assert.IsNull(converter.ToSDKAuthentication()); }
public void ConvertNullAPIToSDK() { apiAuth1 = null; converter = new AuthenticationConverter(apiAuth1); Assert.IsNull(converter.ToSDKAuthentication()); }