@Test
  public void testCorrectCountryCodeWithPI3() throws ResolutionException {
    List<Result> expectedResult = new ArrayList<Result>();
    expectedResult.add(new Result("A", "E0", "AT"));

    Resolver resolver = new Resolver();
    resolver.setIsoCountryCode("AT");
    resolver.setRdsPiCode("A479");
    List<Result> actualResult = resolver.resolveGCC();
    assertEquals("AT + 5479 must return one result of ae0", expectedResult, actualResult);
  }
  /*
   * Tests resolving a GCC with an ECC
   */
  @Test
  public void testECCWithPI1() throws ResolutionException {
    List<Result> expectedResult = new ArrayList<Result>();
    expectedResult.add(new Result("D", "E0", "DE"));

    Resolver resolver = new Resolver();
    resolver.setExtendedCountryCode("E0");
    resolver.setRdsPiCode("D479");
    List<Result> actualResult = resolver.resolveGCC();
    assertEquals("E0 + D479 must return one result of de0", expectedResult, actualResult);
  }
  @Test
  public void testAdjacentCountryCodeWithPI2() throws ResolutionException {
    List<Result> expectedResult = new ArrayList<Result>();
    expectedResult.add(new Result("2", "E3", "IE"));

    Resolver resolver = new Resolver();
    resolver.setIsoCountryCode("GB");
    resolver.setRdsPiCode("2479");
    List<Result> actualResult = resolver.resolveGCC();
    assertEquals("GB + 2479 must return one result of ie3", expectedResult, actualResult);
  }
  @Test
  public void testAdjacentCountryCodeWithPI3() throws ResolutionException {
    List<Result> expectedResult = new ArrayList<Result>();
    expectedResult.add(new Result("5", "E0", "IT"));
    expectedResult.add(new Result("5", "E2", "SK"));

    Resolver resolver = new Resolver();
    resolver.setIsoCountryCode("AT");
    resolver.setRdsPiCode("5479");
    List<Result> actualResult = resolver.resolveGCC();
    assertEquals("AT + 5479 must return two results of 5e0 & 5e2", expectedResult, actualResult);
  }