Ejemplo n.º 1
0
        public void GetListPOCO_DoesntReturnNonExistentList()
        {
            //given
            var otherListTitle  = "OtherListTitle";
            var listTitle       = "ListTitle";
            var nonExistentList = GetShimList(listTitle: listTitle);

            InitializeShimLinq(new List[] { nonExistentList });
            //when
            var listPOCO = sharePointSerivce.GetListPOCO(otherListTitle);

            //then
            Assert.IsNull(listPOCO);
        }