Exemple #1
0
        public void Be_Creatable()
        {
            var sut = new ResolveLayout();

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

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

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