public void ShouldGetDefaultLanguage([Greedy] FakeDataProvider sut, CallContext context)
        {
            var langs = sut.GetLanguages(context);

            langs.Should().HaveCount(1);
            langs.First().Name.Should().Be("en");
        }
Esempio n. 2
0
        public void ShouldGetDefaultLanguage(
            [Greedy] FakeDataProvider sut,
            CallContext context)
        {
            var languages = sut.GetLanguages(context);

            languages.Should().BeEmpty();
        }