public function it_builds_table_columns_based_on_attributes()
{
// Given I have the following attributes
$attributes = [['name' => 'name', 'properties' => ['string', '100', 'fillable']], ['name' => 'age', 'properties' => ['integer', 'unsigned', 'index', 'hidden']], ['name' => 'colour', 'properties' => ['string', 'nullable', 'hidden']], ['name' => 'nickname', 'properties' => []]];
// When I convert these to Schema Builder columns
$columns = $this->app->make(ResourceMakeCommand::class)->buildTableColumns($attributes);
// Then I see the following
$this->assertEquals($this->removeWhiteSpace(file_get_contents(base_path('tests/stubs/migration_columns.stub'))), $this->removeWhiteSpace($columns));
}