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: temple_line_counter_test.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/haml-5.0.1/test
    
    the code of the file until where you have to start completion: require 'test_helper'

class TempleLineCounterTest < Haml::TestCase
  TESTED_TEMPLES = [
    [:multi,
     [:code, "foo"],
     [:static, "bar"],
     [:dynamic, "baz"],
    ],
    [:multi,
     [:code, "foo\nbar\nbaz"],
     [:static, "foo\nbar\nbaz"],
     [:dynamic, 
    
  def test_count_lines
    TESTED_TEMPLES.each do |temple|
      code = Haml::TempleEngine.chain.inject(temple) do |exp, (symbol, filter)|
        case symbol
        when :Parser, :Compiler
          exp
        else
          filter.call(Haml::TempleEngine).call(exp)
        end
      end
      assert_equal code.count("\n"), Haml::TempleLineCounter.count_lines(temple)
    end