public void ConvertNullAPIToAPI()
        {
            apiAuthChallenge1 = null;
            converter = new ChallengeConverter(apiAuthChallenge1);

            Assert.IsNull(converter.ToAPIChallenge());
        }
        public void ConvertAPIToAPI()
        {
            apiAuthChallenge1 = CreateTypicalAPIChallenge();
            converter = new ChallengeConverter(apiAuthChallenge1);
            apiAuthChallenge2 = converter.ToAPIChallenge();

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

            Assert.IsNotNull(sdkAuthChallenge2);
            Assert.AreEqual(sdkAuthChallenge2, sdkAuthChallenge1);
        }
 public void ConvertNullSDKToAPI()
 {
     sdkAuthChallenge1 = null;
     converter = new ChallengeConverter(sdkAuthChallenge1);
     Assert.IsNull(converter.ToAPIChallenge());
 }