private static MockingUnityContainerExtension GetMockingExtension(this IUnityContainer container)
        {
            var extension = container.Configure <MockingUnityContainerExtension>();

            if (extension == null)
            {
                extension = new MockingUnityContainerExtension();
                container.AddExtension(extension);
            }
            return(extension);
        }
 internal MockingStrategy(MockingUnityContainerExtension extension)
 {
     this.extension = extension;
 }