public void ConvertNullAPIToAPI()
        {
            apiAuth1  = null;
            converter = new AuthenticationConverter(apiAuth1);

            Assert.IsNull(converter.ToAPIAuthentication());
        }
        public void ConvertAPIToAPI()
        {
            apiAuth1  = CreateTypicalAPIAuthentication();
            converter = new AuthenticationConverter(apiAuth1);
            apiAuth2  = converter.ToAPIAuthentication();

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

            Assert.IsNotNull(sdkAuth2);
            Assert.AreEqual(sdkAuth2, sdkAuth1);
        }
 public void ConvertNullSDKToAPI()
 {
     sdkAuth1  = null;
     converter = new AuthenticationConverter(sdkAuth1);
     Assert.IsNull(converter.ToAPIAuthentication());
 }