/// /// Copyright (c) 2021 Sensus Slovensko a.s. /// using System; namespace Config.Entities { public class TestInstance { public Test Test; public int Repetition; public string Name { get { return (Test != null) ? Common.Utils.GetTestName(Test.Name, Test.Repeats, Repetition) : string.Empty; } } public TestInstance(Test test, int repetition) { Test = test; Repetition = repetition; } public override string ToString() { return Name; } } }