public void GetTrackedClientIDsInEditModeAsRadioButtonList() { _bocEnumValue.ReadOnly = false; _bocEnumValue.ListControlStyle.ControlType = ListControlType.RadioButtonList; Assert.IsNotNull(_propertyEnumValue, "Could not find property 'EnumValue'."); Assert.IsTrue( typeof(IBusinessObjectEnumerationProperty).IsAssignableFrom(_propertyEnumValue.GetType()), "Property 'EnumValue' of invalid type."); _bocEnumValue.Property = _propertyEnumValue; string[] actual = _bocEnumValue.GetTrackedClientIDs(); Assert.That(actual, Is.Not.Null); Assert.That(actual.Length, Is.EqualTo(3)); var valueName = ((IBocEnumValue)_bocEnumValue).GetValueName(); Assert.That(actual[0], Is.EqualTo(valueName + "_0")); Assert.That(actual[1], Is.EqualTo(valueName + "_1")); Assert.That(actual[2], Is.EqualTo(valueName + "_2")); }