public void Claim() { var arg = new Arg(optTable.GetOption(1), "opt1=", 0, "value1"); arg.Claim(); Assert.True(arg.IsClaimed); Assert.Equal(0, arg.Index); Assert.Equal("opt1=", arg.Spelling); Assert.Equal("value1", arg.Value); Assert.Equal(new[] { "value1" }, arg.Values.AsEnumerable()); }