/**
* Test the custom paths for Layouts
*
* @dataProvider provider
*/
public function testCustomLayoutPaths($config)
{
$pdf = new CakePdf($config);
$pdf->viewVars(['data' => 'testing']);
$pdf->template('testing', 'pdf');
$pdf->layoutPath('customPath');
$result = $pdf->output();
$expected = 'CustomLayoutData: testing';
$this->assertEquals($expected, $result);
}