Description
', picture: 'ranges/pic.jpg', picture_alt: 'Alt text', picture_title: 'Title text', order: 2, status: true, ); // THEN expect($dto->id)->toBe(1) ->and($dto->name)->toBe('Gamme Découverte') ->and($dto->slug)->toBe('gamme-decouverte') ->and($dto->getRouteKey())->toBe('gamme-decouverte') ->and($dto->getRouteKeyName())->toBe('slug') ->and($dto->toArray())->toBe([ 'id' => 1, 'name' => 'Gamme Découverte', 'slug' => 'gamme-decouverte', 'description' => 'Description
', 'picture' => 'ranges/pic.jpg', 'picture_alt' => 'Alt text', 'picture_title' => 'Title text', 'order' => 2, 'status' => true, ]); }); });