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

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

    public function test_html_treats_first_child_assoc_as_attributes()
    {
        $expected = '<bees make="honey"></bees>';
        $actual = (string) html('bees', ['make' => 'honey']);
        $this->assertSame($expected, $actual);
    }