You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_report.rb
    path of file: ./repos/thinreports-generator/test/basic_report/units
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'test_helper'

class Thinreports::BasicReport::TestReport < Minitest::Test
  incl
    
  def test_generate
    result = Report.generate(layout: layout_file.path, &:start_new_page)
    assert_pdf_data result

    assert_raises Thinreports::BasicReport::Errors::LayoutFileNotFound do
      Report.generate(layout: '') { |_| }
    end
  end