public function testFindLayout()
{
$file = PHPPRESENTATION_TESTS_BASE_DIR . '/resources/files/Sample_00_01.pptx';
$templateBased = new TemplateBased($file);
$layouts = $templateBased->getLayouts();
foreach ($layouts as $layout) {
$foundLayout = $templateBased->findLayout($layout['name']);
$this->assertEquals($layout, $foundLayout);
}
}