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

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

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

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