public void ValueTypeWithConstructor()
        {
            MockBuilderContext context = CreateContext();

            ValueTypeWithCtor result = (ValueTypeWithCtor)context.ExecuteBuildUp(typeof(ValueTypeWithCtor), null);

            Assert.IsNotNull(result.ObjectValue);
        }
Beispiel #2
0
        public void ValueTypeWithConstructor()
        {
            MockBuilderContext context = CreateContext();

            ValueTypeWithCtor result = (ValueTypeWithCtor)context.HeadOfChain.BuildUp(context, typeof(ValueTypeWithCtor), null);

            Assert.NotNull(result.ObjectValue);
        }