Beispiel #1
0
        public void Test(NegotiateTestCase test)
        {
            var actual = Negotiate.NegotiateLanguages(test.RequestedLocales,
                                                      test.AvailableLocales, test.Strategy, test.DefaultLocale);

            actual.Should().BeEquivalentTo(test.Expected,
                                           options => options.WithStrictOrdering());
        }