public void TestStringCtor(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("alternate ctor foobar", layout.v1.Content.Content);
            }
            public void TestCtorWithArrayParameter(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("Foo Bar", layout.v8.Content.Content);
            }
            public void TestDefaultCtor(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("default ctor", layout.v0.Content.Content);
            }
            public void TestCtorWithxStaticAttribute(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("alternate ctor Property", layout.v7.Content.Content);
            }
            public void TestFactoryMethodParametersOrder(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("factory 42foo", layout.v5.Content.Content);
            }
            public void TestFactoryMethod(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("factory foo42", layout.v4.Content.Content);
            }
            public void TestArgumentlessFactoryMethod(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("parameterless factory", layout.v3.Content.Content);
            }
            public void TestIntCtor(bool useCompiledXaml)
            {
                var layout = new FactoryMethods(useCompiledXaml);

                Assert.AreEqual("int ctor 42", layout.v2.Content.Content);
            }