Exemplo n.º 1
0
        public void Add_Tag_To_Current_Session()
        {
            // Arrange
            CurrentSession currentSession = new CurrentSession();
            string         tagName        = "New tag";

            // Act
            currentSession.AddTag(new Tag(tagName));

            //Assert
            Assert.AreEqual(tagName, currentSession.Tags[0].TagName, "Tag wasn't added to Tag list correctly");
        }