Пример #1
0
        public void AddThread_IfNoThreadRunning_ThreadIsStarted()
        {
            var testThread = CreateSyncThreadMock(false);

            _testThreadPool.AddThread(testThread);

            testThread.AssertWasCalled(x => x.Start());
        }