diff --git a/tests/MjmlTest.php b/tests/MjmlTest.php
index 483740b..be6cd83 100644
--- a/tests/MjmlTest.php
+++ b/tests/MjmlTest.php
@@ -100,6 +100,14 @@
Mjml::new()->sidecar()->toHtml(mjmlSnippet());
})->throws(SidecarPackageUnavailable::class);
+it('can determine if the given mjml can be converted when the mjml is deprecated', function (string $mjml, bool $expectedResult) {
+ expect(Mjml::new()->canConvert($mjml))->toBe($expectedResult);
+})->with([
+ ['', true],
+ ['', false], // deprecated mjml
+ ['', true],
+]);
+
function mjmlSnippet(): string
{
return <<<'MJML'