public void Build_CustomDirective_AddsValues() { var builder = new CspBuilder(); builder.AddCustomDirective("report-to"); builder.AddCustomDirective("plugin-types", "application/x-shockwave-flash"); var result = builder.Build(); result.Should().Be("report-to; plugin-types application/x-shockwave-flash"); }