public function testColumns()
{
$this->viewFactory->shouldReceive('make')->withArgs(['fooTable', ['columns' => ['fooBar' => 'fooBarLabel', 'fooBar2' => 'fooBar2'], 'showHeaders' => false, 'id' => 'fooBar', 'endpoint' => '/']])->times(1)->andReturn($this->view);
$this->viewFactory->shouldReceive('make')->withArgs(['fooScript', ['id' => 'fooBar', 'columns' => ['fooBar' => 'fooBarLabel', 'fooBar2' => 'fooBar2'], 'options' => [], 'callbacks' => [], 'endpoint' => '/']])->times(1)->andReturn($this->view);
$this->dtv2->columns('fooBar', 'fooBarLabel');
$this->dtv2->columns('fooBar2');
$this->dtv2->html();
}