diff --git a/PreMailer.Net/PreMailer.Net.Tests/PreMailerTests.cs b/PreMailer.Net/PreMailer.Net.Tests/PreMailerTests.cs index 179f947..c523d24 100644 --- a/PreMailer.Net/PreMailer.Net.Tests/PreMailerTests.cs +++ b/PreMailer.Net/PreMailer.Net.Tests/PreMailerTests.cs @@ -710,5 +710,74 @@ public void MoveCssInline_EmptyTagsArePreserved() Assert.DoesNotContain("", premailedOutput.Html); Assert.DoesNotContain("", premailedOutput.Html); } + + [Fact] + public void MoveCssInline_BackwardCompatibility_StaticMethod_WithoutUseEmailFormatter() + { + // Test that the old method signature (without useEmailFormatter) still works + string input = "