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

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

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

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

            Assert.NotNull(result.ObjectValue);
        }