public void Should_resolve_to_user_defined_themes_directory_When_url_starts_with_macro() { var resolver = new ThemeCssUrlResolver(CreateMockThemePathProvider()); var resolvedPath = resolver.ResolveCssUrl("{UserAppData}/dark.css"); resolvedPath.Should().Be(Path.Combine(UserDefinedThemesMockPath, "dark.css")); }
public void Should_resolve_to_preinstalled_themes_directory_by_default() { var resolver = new ThemeCssUrlResolver(CreateMockThemePathProvider()); var resolvedPath = resolver.ResolveCssUrl("dark.css"); resolvedPath.Should().Be(Path.Combine(PreinstalledThemesMockPath, "dark.css")); }