예제 #1
0
        public void Should_return_theme_by_name()
        {
            using (var context = new WeapsyDbContext(_contextOptions))
            {
                var repository = new ThemeRepository(Shared.CreateNewContextFactory(context), Shared.CreateNewMapper());
                var theme      = repository.GetByName("Name 1");

                Assert.NotNull(theme);
            }
        }