Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestCalculation.cs =================================================================== diff -u -r2702ecf9aaf678cf869dc330f8ff560b3de4672a -r17b11c850b35c3ea99150ba25098b5b769b58f4f --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestCalculation.cs (.../TestCalculation.cs) (revision 2702ecf9aaf678cf869dc330f8ff560b3de4672a) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestCalculation.cs (.../TestCalculation.cs) (revision 17b11c850b35c3ea99150ba25098b5b769b58f4f) @@ -33,14 +33,36 @@ /// Creates a new . /// /// The name of the calculation. - public TestCalculation(string name) + public TestCalculation(string name = "Nieuwe berekening") { Name = name; } + /// + /// Gets or sets an object that represents some output of this calculation. + /// + public object Output { get; set; } + public string Name { get; set; } - public bool HasOutput { get; set; } + public Comment Comments { get; } - public void ClearOutput() {} + + public bool HasOutput + { + get + { + return Output != null; + } + } + + public void ClearOutput() + { + Output = null; + } + + public object Clone() + { + return MemberwiseClone(); + } } } \ No newline at end of file