public void ScopedMauiContextReturnsChildLayoutInflater()
        {
            var layoutInflater = new TestLayoutInflater(Platform.DefaultContext);
            var context        = new ScopedMauiContext(GetContext(), layoutInflater: layoutInflater);

            Assert.NotEqual(context.GetLayoutInflater(), LayoutInflater.FromContext(Platform.DefaultContext));
            Assert.Equal(context.GetLayoutInflater(), layoutInflater);
        }
        public void ScopedMauiContextReturnsChildLayoutInflater()
        {
            var globalInflator = LayoutInflater.FromContext(Platform.DefaultContext);
            var layoutInflater = new TestLayoutInflater(Platform.DefaultContext);

            var context = _mauiContext.MakeScoped(layoutInflater: layoutInflater);

            Assert.NotEqual(globalInflator, context.GetLayoutInflater());
            Assert.Equal(layoutInflater, context.GetLayoutInflater());
        }