public function testRenderModalFitler() { $table = new Table($this->paginator); $table->addColumn('test'); $output = $table->renderModalFilter(); $this->assertTag(['tag' => 'button', 'attributes' => ['href' => '#modal-grid-filters']], $output); $this->assertTag(['tag' => 'div', 'attributes' => ['class' => 'modal']], $output); $this->assertTag(['tag' => 'div', 'attributes' => ['class' => 'modal-body'], 'child' => ['tag' => 'form', 'descendant' => ['tag' => 'input', 'attributes' => ['name' => 'test']]]], $output); }