public void CanCreateObjectWithParameterizedConstructor() { MockBuilderContext ctx = CreateContext(); CtorObject result = (CtorObject)ctx.HeadOfChain.BuildUp(ctx, typeof(CtorObject), null, null); Assert.IsNotNull(result); Assert.IsNotNull(result.Foo); }
public CascadingCtorObject(CtorObject ctorObject) { InnerCtorObject = ctorObject; }
public CascadingCtorObject(CtorObject ctorObject) { InnerCtorObject = ctorObject; }