public void Should_format_localized_text() { var input = new LocalizedText { ["en"] = "Hello {{user}}", ["de"] = "Hallo {{user}}" }; var properties = new Dictionary <string, string?> { ["user"] = "******" }; var result = input.Format(properties); Assert.Equal("Hello Sebastian", result["en"]); Assert.Equal("Hallo Sebastian", result["de"]); }