public Handover UpdateHandoverUrl(Handover handover) { Link link = new HandoverConverter(handover).ToAPILink(); link = apiClient.UpdateHandoverUrl(handover.Language, link); return(new HandoverConverter(link).ToSDKHandover(handover.Language)); }
public void ConvertNullAPIToSDK() { apiLink1 = null; converter = new HandoverConverter(apiLink1); Assert.IsNull(converter.ToAPILink()); Assert.IsNull(converter.ToSDKHandover("ko")); }
public Handover UpdateHandoverUrl(Handover handover) { API.Handover apiHandover = new HandoverConverter(handover).ToAPIHandover(); apiHandover = apiClient.UpdateHandoverUrl(handover.Language, apiHandover); return(new HandoverConverter(apiHandover).ToSDKHandover(handover.Language)); }
public void ConvertNullSDKToSDK() { sdkHandover1 = null; converter = new HandoverConverter(sdkHandover1); Assert.IsNull(converter.ToSDKHandover("fr")); }
public void ConvertNullSDKToAPI() { sdkHandover1 = null; converter = new HandoverConverter(sdkHandover1); Assert.IsNull(converter.ToAPILink()); }
public void ConvertNullAPIToAPI() { apiHandover1 = null; converter = new HandoverConverter(apiHandover1); Assert.IsNull(converter.ToAPIHandover()); }
public Handover CreateHandoverUrl(Handover handover) { OneSpanSign.API.Handover apiHandover = new HandoverConverter(handover).ToAPIHandover(); apiHandover = apiClient.CreateHandoverUrl(handover.Language, apiHandover); return(new HandoverConverter(apiHandover).ToSDKHandover(handover.Language)); }