Exemple #1
0
        public void GetNullableBoolFromNullTest()
        {
            const object EXPECTED = null;
            var          item     = CreateFakeItem();

            item["MyBool"] = EXPECTED;

            var mapper = new ListItemWrapper(item);
            var actual = mapper.GetNullableBool("MyBool");

            Assert.AreEqual(EXPECTED, actual);
        }