public void AddOption(Option option) { CloseIfEmptyOption(option); if (!IsClosed) { var asList = _options as Options; asList.Add(option); _options = asList; } }
public void SetUp() { _sut = new Impl.Option("Hallo Welt"); }
void CloseIfEmptyOption(Option option) { if (option == EMPTY) _isClosed = true; }