예제 #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>();
        }