year=2018;months=1}}'; $ins = p_get_instructions($syntax); $info = []; $actual_html = p_render('xhtml', $ins, $info); $expectedHTML = '
'; self::assertSame($expectedHTML, $actual_html); } public function test2ndQuarter2018NoMondays(): void { global $INFO; $INFO[ 'namespace' ] = ''; $syntax = '{{yearbox>year=2018;months=4,5,6;weekdays=0,2,3,4,5,6}}'; $ins = p_get_instructions($syntax); $info = []; $actual_html = p_render('xhtml', $ins, $info); $expectedHTML = ''; self::assertSame($expectedHTML, $actual_html); } }