Esempio n. 1
0
        public void GetItemsByProjectId_InvalidCredential()
        {
            var invalidCredential = new GcConnectClient("abc",
                                                        _configData.Email);
            var itemObject = invalidCredential.GetItemsByProjectId(103614);

            Assert.IsNull(itemObject);
        }
Esempio n. 2
0
        public void GetItemsByProjectIdTest()
        {
            var itemObject = _clientObject.GetItemsByProjectId(_configData.ProjectId);

            Assert.IsNotNull(itemObject);
            CollectionAssert.AllItemsAreUnique(itemObject.ToList());
            CollectionAssert.AllItemsAreNotNull(itemObject.ToList());
        }