public void ColorPalette_FromIdentifier_IdentifierShouldBeMapped(ColorPalette.Identifier identifier) { Action act = () => ColorPalette.FromIdentifier(identifier); act.Should().NotThrow(because: $"every identifier for {nameof(Theme)} should be mapped to a corresponding static color that is defined"); }