public void ConvertSDKToSDK() { sdkAuthChallenge1 = CreateTypicalSDKChallenge(); converter = new ChallengeConverter(sdkAuthChallenge1); sdkAuthChallenge2 = converter.ToSDKChallenge(); Assert.IsNotNull(sdkAuthChallenge2); Assert.AreEqual(sdkAuthChallenge2, sdkAuthChallenge1); }
public void ConvertNullSDKToSDK() { sdkAuthChallenge1 = null; converter = new ChallengeConverter(sdkAuthChallenge1); Assert.IsNull(converter.ToSDKChallenge()); }
public void ConvertNullAPIToSDK() { apiAuthChallenge1 = null; converter = new ChallengeConverter(apiAuthChallenge1); Assert.IsNull(converter.ToSDKChallenge()); }