public void Pipeline_Start_IsRunning() { var pipeline = new TestPipeline(); pipeline.Start(); Assert.IsTrue(pipeline.IsRunning); }
public async Task Pipeline_Dispose_StopsProcessing() { var pipeline = new TestPipeline(); pipeline.Start(); pipeline.Dispose(); Assert.IsFalse(pipeline.IsRunning); }
public async Task Pipeline_Stop_StopsRunning() { var pipeline = new TestPipeline(); pipeline.Start(); await pipeline.Stop(); Assert.IsFalse(pipeline.IsRunning); }