require 'phoney/test_helper'

class NIRegionTest < MiniTest::Unit::TestCase
  def setup
    PhoneNumber.region = "ni"
  end
  
  def test_international_dialing_with_trunk_prefix
     assert_equal "+505 0", PhoneNumber::Parser.parse("+5050")
     assert_equal "+505 0234 5678", PhoneNumber::Parser.parse("+50502345678")
     assert_equal "+505 (0) 2345 6789", PhoneNumber::Parser.parse("+505023456789")
     assert_equal "+505 (0) 234567891", PhoneNumber::Parser.parse("+5050234567891")
  end
end
Add another simple example region test that fails.
Add another simple example region test that fails.
