コード例 #1
0
        public void SubsequentBuildsFail()
        {
            var target = new TranslationProvider(dataProvider, logger);

            target.Build();
            target.Build();
        }
コード例 #2
0
        public void CorrectlyBuildsAndFetches()
        {
            var target = new TranslationProvider(dataProvider, logger);

            target.Build();

            var translations = target.FetchSkillName("rush", "Rush");

            Assert.AreEqual(10, translations.Count);
            mockedDataProvider.VerifyAll();
        }