Пример #1
0
        public void Trying_To_Get_Changes_WithOut_Connecting_Throws_Exception()
        {
            TeamCityChanges client = new Client("localhost:81");

            var changes = client.GetAllChanges();

            //Assert: Exception
        }
Пример #2
0
        public void Instantiating_A_Client_With_A_Host_That_Doesnt_Exist_Throws_Exception()
        {
            TeamCityChanges client = new Client("test:81");
            client.Connect("admin", "qwerty");

            var changes = client.GetAllChanges();

            //Assert: Exception
        }