I was reading this trailhead and it says quote lines are automatically created from the opportunity products when a quote is created.
At this point, he selects the quote, and he sees that the product from the opportunity appears as a line item. Lance can add other products as line items if he wants to.
Does this work the same in apex when inserting a quote with a related Opportunity with Line Items?