예제 #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);
        }