コード例 #1
0
        public void GetIconOrDefaultShouldWork(string text, bool useRegex, string iconKind)
        {
            var selector = new DefaultIconSelector();

            var result = selector.GetIconOrDefault(text, useRegex, iconKind);

            result.Should().NotBeNullOrEmpty();
        }
コード例 #2
0
        public void GetIconForShouldWork(string text, bool useRegex)
        {
            var selector = new DefaultIconSelector();

            var result = selector.GetIconFor(text, useRegex);

            result.Should().NotBeNullOrEmpty();
        }