Esempio n. 1
0
        public void Be_Creatable()
        {
            var sut = new ResolveLayout();

            sut.Should().NotBeNull();
            sut.Should().BeAssignableTo <IResolveLayout>();
            sut.Should().BeAssignableTo <IResolveFromName <INZazuWpfLayoutStrategy> >();
        }
Esempio n. 2
0
        public void Resolve_StackedLayout()
        {
            var sut = new ResolveLayout();

            sut.Resolve("stack").Should().BeAssignableTo <StackedLayout>();
        }
Esempio n. 3
0
        public void Have_GridLayout_As_Default()
        {
            var sut = new ResolveLayout();

            sut.Resolve(null).Should().BeAssignableTo <GridLayout>();
        }