htmlgen\test\HtmlTest::test_html_accepts_variadic_children PHP Метод

test_html_accepts_variadic_children() публичный Метод

    public function test_html_accepts_variadic_children()
    {
        $expected = '<bees>honeyhoneycombpollenwaxpropolis</bees>';
        $actual = (string) html('bees', raw('honey'), ['honeycomb', 'pollen'], 'wax', ['propolis']);
        $this->assertSame($expected, $actual);
    }