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_format.rb
    path of file: ./repos/thinreports-generator/test/basic_report/units/core/shape/manager
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'test_helper'

class Thinreports:
    
  def test_find_shape_should_return_format_of_shape_when_shape_is_found
    format = TestFormat.new({}) do |f|
      f.shapes[:foo] = Thinreports::BasicReport::Core::Shape::TextBlock::Format.new('id' => 'foo',
                                                                       'type' => 'text-block')
    end
    assert_equal format.find_shape(:foo).id, 'foo'
  end