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

                //Act
                bool          success = tagSql.AddTagToDeck(deckID.ToString(), tagID.ToString());
                List <string> tagList = tagSql.GetTagsByDeckID(deckID.ToString());

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