Пример #1
0
        public void CleanCutureCodeThrowsTest(string value)
        {
            Action action = () => CultureUtilities.CleanCutureCode(value);

            action.Should().Throw <ArgumentException>();
        }
Пример #2
0
        public void CleanCutureCodeTest(string value, string expected)
        {
            var actual = CultureUtilities.CleanCutureCode(value);

            actual.Should().Be(expected);
        }