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: nominatim_test.rb
    path of file: ./repos/geocoder/test/unit/lookups
    
    the code of the file until where you have to start completion: # encoding: utf-8
require 'test_helper'

class NominatimTest < GeocoderTestCase

  def setup
    super
    Geocoder.configure(lookup: :nominatim)
    set_api_key!(:nominatim)
  end

  
    
  def test_result_components
    result = Geocoder.search("Madison Square Garden, New York, NY").first
    assert_equal "10001", result.postal_code
    assert_nil result.city_district
    assert_nil result.state_district
    assert_nil result.neighbourhood
    assert_equal "Madison Square Garden, West 31st Street, Long Island City, New York City, New York, 10001, United States of America", result.address
  end