public void ConvertAPIToAPI()
 {
     apiExternal1 = CreateTypicalAPIExternal();
     converter    = new ExternalConverter(apiExternal1);
     apiExternal2 = converter.ToAPIExternal();
     Assert.IsNotNull(apiExternal2);
     Assert.AreEqual(apiExternal2, apiExternal1);
 }
 public void ConvertSDKToSDK()
 {
     sdkExternal1 = CreateTypicalSDKExternal();
     converter    = new ExternalConverter(sdkExternal1);
     sdkExternal2 = converter.ToSDKExternal();
     Assert.IsNotNull(sdkExternal2);
     Assert.AreEqual(sdkExternal2, sdkExternal1);
 }
 public void ConvertNullAPIToAPI()
 {
     apiExternal1 = null;
     converter    = new ExternalConverter(apiExternal1);
     Assert.IsNull(converter.ToAPIExternal());
 }
 public void ConvertNullSDKToSDK()
 {
     sdkExternal1 = null;
     converter    = new ExternalConverter(sdkExternal1);
     Assert.IsNull(converter.ToSDKExternal());
 }