render($this->loadResource('hello_world.mjml')); $this->assertEquals($this->loadResource('hello_world.min.html'), $html); } public function testRenderWithInvalidBinaryThrowException() { $this->expectException(\RuntimeException::class); $renderer = new BinaryRenderer('unknown'); $renderer->render($this->loadResource('hello_world.mjml')); } }