Example #1
0
    public function testNoReplaceMagicMethod()
    {

        // I am unsure as to the purpose of this...
        $table = Table::table()->body(array(array()))->__noreplace__foo_bar("Baz");
        $this->assertEquals(
            '<tbody><tr><td class="column-foo_bar">Baz</td></tr></tbody>',
            $table->render(),
            "Just checking!"
        );

    }