public void Runメソッドで処理を実行する()
        {
            int count = 0;
            var sut = new Runnable(new Task(() => { count++; }));

            sut.Run.Start();
            sut.Run.Wait();

            Assert.AreEqual(1, count);
        }
 public BackgroundTask(Runnable runnable)
 {
     _runnable = runnable;
 }