DrawMyAttention\ResourceGenerator\Commands\ResourceGeneratorTest::it_converts_a_php_array_to_a_string_representation_that_can_be_used_to_inject_to_a_template PHP Method

it_converts_a_php_array_to_a_string_representation_that_can_be_used_to_inject_to_a_template() public method

    public function it_converts_a_php_array_to_a_string_representation_that_can_be_used_to_inject_to_a_template()
    {
        $command = $this->app->make(ResourceMakeCommand::class);
        $string = $command->convertArrayToString($command->parseAttributesFromInputString('name:string,100|nickname'));
        $this->assertEquals("[['name' => 'name','properties' => ['string', '100']],['name' => 'nickname','properties' => []]]", $string);
    }