Beispiel #1
0
        public void GetStatusByIdTest()
        {
            var statusObject = _clientObject.GetStatusById(_configData.ProjectId, _configData.StatusId);

            Assert.IsNotNull(statusObject);
            Assert.AreEqual(statusObject.Id, _configData.StatusId.ToString());
        }
Beispiel #2
0
        public void GetStatusById_InvalidCredential()
        {
            var invalidCredential = new GcConnectClient("abc",
                                                        "*****@*****.**");
            var statusObject = invalidCredential.GetStatusById(103613, 558644);

            Assert.IsNull(statusObject);
        }