Example #1
0
        public void ClearTagsShouldSucceed()
        {
            // Arrange
            var entity = new Remark(id, name, nameOnApplication, description, icon);
            var tag    = new Tag(Guid.NewGuid().ToString());

            entity.AddTag(tag);

            // Act
            entity.ClearTags();

            // Assert
            entity.Tags.Count.Should().Be(0);
        }