render($this->loadResource('hello_world.mjml')); $this->assertEquals($this->loadResource('hello_world.html'), $html); } public function testRenderWithInvalidCredentialsThrowException() { $this->expectException(ClientException::class); $renderer = new ApiRenderer('test', 'test'); $renderer->render($this->loadResource('hello_world.html')); } }