public function testExists()
{
$snippet = $this->snippetFromMethod(Table::class, 'exists');
$snippet->addLocal('table', $this->table);
$this->connection->getTable(Argument::any())->shouldBeCalled()->willReturn([]);
$this->table->setConnection($this->connection->reveal());
$res = $snippet->invoke();
$this->assertEquals('Table exists!', $res->output());
}