Inheritance: StructureMap.Pipeline.Instance
        public void Build_happy_path()
        {
            var mocks = new MockRepository();
            var buildSession =
                mocks.StrictMock<BuildSession>();

            var theDefault = new DefaultClass();

            using (mocks.Record())
            {
                Expect.Call(buildSession.CreateInstance(typeof (IDefault))).Return(theDefault);
            }

            using (mocks.Playback())
            {
                var instance = new DefaultInstance();
                Assert.AreSame(theDefault, instance.Build(typeof (IDefault), buildSession));
            }
        }
            /// <summary>
            /// Directs StructureMap to fill this dependency with the Default Instance of the
            /// constructor or property type
            /// </summary>
            /// <returns></returns>
            public ConfiguredInstance IsAutoFilled()
            {
                var instance = new DefaultInstance();

                return(Is(instance));
            }