private AutoMockContainer(AutoMockHelper helper)
 {
     _helper = helper;
     _latentMocker = helper;
     // FIXME: This feels like object incest. Is it ok?
     helper.Container = this;
     Initialize();
 }
 /// <summary>
 /// For unit testing. I can't think of why we need this for anything else
 /// </summary>
 /// <param name="helper"></param>
 /// <param name="latentMocker"></param>
 internal AutoMockContainer(IAutoMocker helper, ILatentMocker latentMocker)
 {
     _helper = helper;
     _latentMocker = latentMocker;
     Initialize();
 }
Exemple #3
0
 public LazyLoader(ILatentMocker helper)
 {
     _helper = helper;
 }