public static void Stub(this CachingFactory factory)
 {
     factory.Initialize(init => StubInit(init, mock => { }));
 }
 public static void Stub(this CachingFactory factory, Action <Mock <ICachedProvider> > action)
 {
     factory.Initialize(init => StubInit(init, action));
 }