Esempio n. 1
0
        public async void Execute_Hydrate_WithoutError()
        {
            var viewModel = new MesTachesViewModel(
                new LocataireReadDto
            {
                Id = 1
            },
                FactoryController.CreateMockTache()
                );

            Assert.NotNull(viewModel.TachesData);

            await viewModel.Hydrate();

            Assert.NotEmpty(viewModel.TachesData);

            await viewModel.Hydrate();

            Assert.NotEmpty(viewModel.TachesData);
        }