public bool IsThemeNameUnique(string name, Guid themeId = new Guid()) { var theme = _themeRepository.GetByName(name); return(IsThemeUnique(theme, themeId)); }
public void Should_return_theme_by_name() { var actual = _sut.GetByName("Name 1"); Assert.NotNull(actual); }