public UnityAutoMoqExtension( MockRepository mockRepository, UnityAutoMockContainer autoMockContainer) { _mockRepository = mockRepository; _autoMockContainer = autoMockContainer; }
public UnityAutoMoqBuilderStrategy( MockRepository mockRepository, UnityAutoMockContainer autoMockContainer) { _mockRepository = mockRepository; _autoMockContainer = autoMockContainer; _createMethod = mockRepository.GetType().GetMethod("Create", new Type[] { }); _mocks = new Dictionary <Type, object>(); }