public function it_splits_a_pipe_separated_list_of_attributes_to_an_array_of_attributes()
{
$command = $this->app->make(ResourceMakeCommand::class);
$attributes = $command->parseAttributesFromInputString('name:string,100|age:integer,unsigned,index|colour:string,20,nullable|nickname');
$this->assertEquals(['name' => ['string', '100'], 'age' => ['integer', 'unsigned', 'index'], 'colour' => ['string', '20', 'nullable'], 'nickname' => []], $attributes);
}