Index: src/Deltares.DSoilModel.Forms.Tests/ControlTester.cs =================================================================== diff -u -r306 -r307 --- src/Deltares.DSoilModel.Forms.Tests/ControlTester.cs (.../ControlTester.cs) (revision 306) +++ src/Deltares.DSoilModel.Forms.Tests/ControlTester.cs (.../ControlTester.cs) (revision 307) @@ -6,7 +6,7 @@ namespace Deltares.DSoilModel.Forms.Tests { - class ControlTester + public class ControlTester { private bool oldBypass; @@ -80,5 +80,14 @@ Assert.AreEqual(rowCount, gridControl.gridView1.RowCount); Assert.AreEqual(colCount, gridControl.gridView1.Columns.Count); } + + protected void TestTextBoxVisibleEnabledCaption(Control parentControl, string textBoxName, + bool isVisibleExpected, bool isEnabledExpected, string caption) + { + TestControlVisibleEnabled(parentControl, textBoxName, isVisibleExpected, isEnabledExpected); + var textBox = GetPrivateField(parentControl, textBoxName) as TextEdit; + Assert.IsNotNull(textBox); + Assert.AreEqual(caption, textBox.EditValue); + } } } \ No newline at end of file