public void Create()
        {
            var synologyCgiService = new Mock <IOmvService>();
            var configurationMock  = new Mock <Doods.Framework.Std.IConfiguration>();

            configurationMock.Setup(m => m.AdsKey).Returns("MyAdd");
            var obj = new WebGuiSettingViewModel();

            Assert.IsNotNull(obj);
        }
        public async Task CallOnAppearingAsync2()
        {
            var logger            = new Mock <ILogger>();
            var mapper            = new Mock <IMapper>();
            var configurationMock = new Mock <Doods.Framework.Std.IConfiguration>();

            logger.SetupAllProperties();
            mapper.SetupAllProperties();
            configurationMock.SetupAllProperties();

            var rpc        = new OmvHttpService(logger.Object, new LocalIHttpClient());
            var omvService = new OmvRpcService(rpc, logger.Object, mapper.Object);
            var obj        = new WebGuiSettingViewModel();

            Assert.IsNull(obj.Title);
            await obj.OnAppearingAsync();
        }