assertEquals( '
', HtmlDivTable::open() . HtmlDivTable::close() ); $this->assertEquals( HtmlDivTable::table(), HtmlDivTable::open() . HtmlDivTable::close() ); } public function testHeader() { $this->assertEquals( '
foo
', HtmlDivTable::header( 'foo', [ 'class' => 'bar' ] ) ); } public function testBody() { $this->assertEquals( '
foo
', HtmlDivTable::body( 'foo', [ 'class' => 'bar' ] ) ); } public function testFooter() { $this->assertEquals( '', HtmlDivTable::footer( 'foo', [ 'class' => 'bar' ] ) ); } public function testRow() { $this->assertEquals( '
foo
', HtmlDivTable::row( 'foo', [ 'class' => 'bar' ] ) ); } public function testCell() { $this->assertEquals( '
foo
', HtmlDivTable::cell( 'foo', [ 'class' => 'bar' ] ) ); } }