public void Test_Complete_NullReportPart() { Procedure procedure = new Procedure(); Report report = new Report(procedure); ReportPart reportPart = new ReportPart(report, 0); Staff performer = new Staff(); InterpretationStep previousStep = new InterpretationStep(procedure); TranscriptionStep procedureStep = new TranscriptionStep(previousStep); procedureStep.Start(performer); procedureStep.Complete(); }
public void Test_Complete() { Procedure procedure = new Procedure(); Report report = new Report(procedure); ReportPart reportPart = new ReportPart(report, 0); Staff performer = new Staff(); InterpretationStep previousStep = new InterpretationStep(procedure); previousStep.ReportPart = reportPart; TranscriptionStep procedureStep = new TranscriptionStep(previousStep); procedureStep.Start(performer); procedureStep.Complete(); Assert.AreEqual(performer, procedureStep.ReportPart.Transcriber); }
public void Execute(TranscriptionStep step, Staff performingStaff) { step.Start(performingStaff); }