Program: 3560
Project: 3560
Buggy source:
@Test public void testCanonicalLiteralsForAddressComponentType(){
  Map<AddressComponentType,String> addressComponentTypeToLiteralMap=new HashMap<AddressComponentType,String>();
  addressComponentTypeToLiteralMap.put(AddressComponentType.STREET_ADDRESS,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ROUTE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.INTERSECTION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POLITICAL,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.COUNTRY,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_1,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_2,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_3,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_4,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_5,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.COLLOQUIAL_AREA,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.LOCALITY,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.WARD,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_1,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_2,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_3,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_4,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_5,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.NEIGHBORHOOD,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.PREMISE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBPREMISE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_CODE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POST_BOX,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_CODE_PREFIX,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_CODE_SUFFIX,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.NATURAL_FEATURE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.AIRPORT,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.PARK,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.FLOOR,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.PARKING,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POINT_OF_INTEREST,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.BUS_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.TRAIN_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBWAY_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.TRANSIT_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.LIGHT_RAIL_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ESTABLISHMENT,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_TOWN,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ROOM,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.STREET_NUMBER,"String_Node_Str");
  for (  Map.Entry<AddressComponentType,String> AddressComponentTypeLiteralPair : addressComponentTypeToLiteralMap.entrySet()) {
    assertEquals(AddressComponentTypeLiteralPair.getValue(),AddressComponentTypeLiteralPair.getKey().toCanonicalLiteral());
  }
  assertEquals(addressComponentTypeToLiteralMap.size() + 1,AddressComponentType.values().length);
}

Fixed version (ground truth):
@Test public void testCanonicalLiteralsForAddressComponentType(){
  Map<AddressComponentType,String> addressComponentTypeToLiteralMap=new HashMap<AddressComponentType,String>();
  addressComponentTypeToLiteralMap.put(AddressComponentType.STREET_ADDRESS,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ROUTE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.INTERSECTION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POLITICAL,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.COUNTRY,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_1,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_2,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_3,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_4,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_5,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.COLLOQUIAL_AREA,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.LOCALITY,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.WARD,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_1,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_2,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_3,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_4,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBLOCALITY_LEVEL_5,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.NEIGHBORHOOD,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.PREMISE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBPREMISE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_CODE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POST_BOX,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_CODE_PREFIX,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_CODE_SUFFIX,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.NATURAL_FEATURE,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.AIRPORT,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.PARK,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.FLOOR,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.PARKING,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POINT_OF_INTEREST,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.BUS_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.TRAIN_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.SUBWAY_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.TRANSIT_STATION,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ESTABLISHMENT,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.POSTAL_TOWN,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.ROOM,"String_Node_Str");
  addressComponentTypeToLiteralMap.put(AddressComponentType.STREET_NUMBER,"String_Node_Str");
  for (  Map.Entry<AddressComponentType,String> AddressComponentTypeLiteralPair : addressComponentTypeToLiteralMap.entrySet()) {
    assertEquals(AddressComponentTypeLiteralPair.getValue(),AddressComponentTypeLiteralPair.getKey().toCanonicalLiteral());
  }
  assertEquals(addressComponentTypeToLiteralMap.size() + 1,AddressComponentType.values().length);
}