Beispiel #1
0
        public void Should_return_themes_count()
        {
            using (var context = new WeapsyDbContext(_contextOptions))
            {
                var repository = new ThemeRepository(Shared.CreateNewContextFactory(context), Shared.CreateNewMapper());
                var count      = repository.GetThemesCount();

                Assert.AreEqual(2, count);
            }
        }