Пример #1
0
        public void Required()
        {
            var variables = new VariableDictionary();

            variables.Set("FirstName", "Paul");
            variables.Get("FirstName").Should().Be("Paul");
            Assert.Throws <ArgumentOutOfRangeException>(() => variables.Require("LastName"));
        }