public void ConvertNullAPIToAPI() { apiLayoutOptions1 = null; converter = new CeremonyLayoutSettingsConverter(apiLayoutOptions1); Assert.IsNull(converter.ToAPILayoutOptions()); }
public void ConvertNullSDKToSDK() { sdkCeremonyLayoutSettings1 = null; converter = new CeremonyLayoutSettingsConverter(sdkCeremonyLayoutSettings1); Assert.IsNull(converter.ToSDKCeremonyLayoutSettings()); }
public void ConvertAPIToAPI() { apiLayoutOptions1 = CreateTypicalAPICeremonyLayoutSettings(); converter = new CeremonyLayoutSettingsConverter(apiLayoutOptions1); apiLayoutOptions2 = converter.ToAPILayoutOptions(); Assert.IsNotNull(apiLayoutOptions2); Assert.AreEqual(apiLayoutOptions2, apiLayoutOptions1); }