public void remove_at_throws_if_index_is_invalid() { var record = new ConcreteRecordBase(); Assert.Throws <ArgumentOutOfRangeException>(() => record.RemoveAt(-1)); Assert.Throws <ArgumentOutOfRangeException>(() => record.RemoveAt(0)); }
public void remove_at_throws_if_read_only() { var record = new ConcreteRecordBase(true, "one"); Assert.Throws <NotSupportedException>(() => record.RemoveAt(0)); }
public void remove_at_throws_if_read_only() { var record = new ConcreteRecordBase(true, "one"); Assert.Throws<NotSupportedException>(() => record.RemoveAt(0)); }
public void remove_at_throws_if_index_is_invalid() { var record = new ConcreteRecordBase(); Assert.Throws<ArgumentOutOfRangeException>(() => record.RemoveAt(-1)); Assert.Throws<ArgumentOutOfRangeException>(() => record.RemoveAt(0)); }