public void setup() { _queue = Substitute.For<IWorkQueue<object>>(); _pool = Substitute.For<IWorkerPool<object>>(); _pool.PoolSize().Returns(10000); _subject = new Dispatch<object>(_queue, _pool); }
public void setup() { _queue = Substitute.For<IWorkQueue<object>>(); _pool = Substitute.For<IWorkerPool<object>>(); _pool.PoolSize().Returns(10000); _subject = new Dispatch<object>(_queue, _pool); }