Beispiel #1
0
        public void TestInitialize()
        {
            _logMock                = new Mock <ISplitLogger>();
            _splitCacheMock         = new Mock <ISplitCache>();
            _combiningMatcher       = new Mock <CombiningMatcher>();
            _eventsLogMock          = new Mock <IEventsLog>();
            _impressionsLogMock     = new Mock <IImpressionsLog>();
            _blockUntilReadyService = new Mock <IBlockUntilReadyService>();
            _evaluatorMock          = new Mock <IEvaluator>();

            _splitClientForTesting = new SplitClientForTesting(_logMock.Object, _splitCacheMock.Object, _eventsLogMock.Object, _impressionsLogMock.Object, _blockUntilReadyService.Object, _evaluatorMock.Object);

            _splitClientForTesting.BlockUntilReady(1000);
        }
        public void TestInitialize()
        {
            _logMock                = new Mock <ILog>();
            _splitCacheMock         = new Mock <ISplitCache>();
            _splitterMock           = new Mock <Splitter>();
            _combiningMatcher       = new Mock <CombiningMatcher>();
            _eventListenerMock      = new Mock <IListener <WrappedEvent> >();
            _impressionListenerMock = new Mock <IListener <KeyImpression> >();
            _blockUntilReadyService = new Mock <IBlockUntilReadyService>();

            _splitClientForTesting = new SplitClientForTesting(_logMock.Object, _splitCacheMock.Object, _splitterMock.Object, _eventListenerMock.Object, _impressionListenerMock.Object, _blockUntilReadyService.Object);

            _splitClientForTesting.BlockUntilReady(1000);
        }