DoWork() private method

private DoWork ( int work, string &batch, int &passed ) : int
work int
batch string
passed int
return int
		public void GetResultOf_NotWithAnySynchronizationContext_ThrowsInvalidOperationException()
		{
			var worker = new AsynchronousWorker();
			var remaining = Result.Of(worker.DoWork(2));
			Assert.AreEqual(4, remaining);
		}
		public void GetResultOf_NotWithAnySynchronizationContext_ThrowsInvalidOperationException()
		{
			var sync = Container.Resolve<SyncClassOverrideContext>();
			sync.DoWork();

			var worker = new AsynchronousWorker();
			var remaining = Result.Of(worker.DoWork(2));
			Assert.AreEqual(4, remaining);
		}