Exemple #1
0
        public void Should_return_theme_by_folder()
        {
            using (var context = new WeapsyDbContext(_contextOptions))
            {
                var repository = new ThemeRepository(Shared.CreateNewContextFactory(context), Shared.CreateNewMapper());
                var theme      = repository.GetByFolder("Folder 1");

                Assert.NotNull(theme);
            }
        }