示例#1
0
        public void ConvertNullAPIToAPI()
        {
            apiLayoutOptions1 = null;
            converter         = new CeremonyLayoutSettingsConverter(apiLayoutOptions1);

            Assert.IsNull(converter.ToAPILayoutOptions());
        }
示例#2
0
        public void ConvertNullSDKToSDK()
        {
            sdkCeremonyLayoutSettings1 = null;
            converter = new CeremonyLayoutSettingsConverter(sdkCeremonyLayoutSettings1);

            Assert.IsNull(converter.ToSDKCeremonyLayoutSettings());
        }
示例#3
0
        public void ConvertAPIToAPI()
        {
            apiLayoutOptions1 = CreateTypicalAPICeremonyLayoutSettings();
            converter         = new CeremonyLayoutSettingsConverter(apiLayoutOptions1);
            apiLayoutOptions2 = converter.ToAPILayoutOptions();

            Assert.IsNotNull(apiLayoutOptions2);
            Assert.AreEqual(apiLayoutOptions2, apiLayoutOptions1);
        }