Пример #1
0
            public void AddTagToCardTest()
            {
                //Arrange
                TagsSqlDAL tagSql = new TagsSqlDAL(connectionString);

                //Act
                bool          success = tagSql.AddTagToCard(cardID.ToString(), tagID.ToString());
                List <string> tagList = tagSql.GetTagsByCardID(cardID.ToString());

                //Assert
                Assert.IsTrue(success);
                Assert.AreEqual(1, tagList.Count);
            }