Buggy code:
public class ResultsValidationRetroCUtility extends ResultsValidationUtility { private static String ANALYTE_CD4_CT_GENERATED_ID ; private final ResultDAO resultDAO = new ResultDAOImpl ( ) ; private ResultsLoadUtility resultsLoadUtility = new ResultsLoadUtility ( ) ; private String totalTestName = "" ; StopWatch sw ; public List < AnalysisItem > getResultValidationList ( String testSectionName , String testName , List < Integer > statusList ) { accessionToValidMap = new HashMap < String , Boolean > ( ) ; sw = new StopWatch ( ) ; sw . disable ( true ) ; List < ResultValidationItem > testList = new ArrayList < ResultValidationItem > ( ) ; List < AnalysisItem > resultList = new ArrayList < AnalysisItem > ( ) ; if ( ! ( ( GenericValidator . isBlankOrNull ( testSectionName ) ) || ( testSectionName . equals ( "0" ) ) ) ) { sw . start ( ( "Result<seq2seq4repair_space>Validation<seq2seq4repair_space>" + testSectionName ) ) ; String testSectionId ; if ( testSectionName . equals ( "Serology" ) ) { testSectionId = getTestSectionId ( testSectionName ) ; testList = getUnValidatedElisaResultItemsInTestSection ( testSectionId ) ; Collections . sort ( testList , new Comparator < ResultValidationItem > ( ) { @ Override public int compare ( ResultValidationItem o1 , ResultValidationItem o2 ) { return o1 . getAccessionNumber ( ) . compareTo ( o2 . getAccessionNumber ( ) ) ; } } ) ; resultList = testResultListToELISAAnalysisList ( testList , statusList ) ; } else { if ( ( ! ( GenericValidator . isBlankOrNull ( testName ) ) ) && ( testSectionName . equals ( "Virology" ) ) ) { if ( testName . equals ( "Genotyping" ) ) { <START_BUG> testName = "Génotypage" ; <END_BUG> } testList . addAll ( getUnValidatedTestResultItemsByTest ( testName , statusList ) ) ; } else { testSectionId = getTestSectionId ( testSectionName ) ; testList = getUnValidatedTestResultItemsInTestSection ( testSectionId , statusList ) ; if ( ( ConfigurationProperties . getInstance ( ) . isPropertyValueEqual ( configurationName , "CI<seq2seq4repair_space>RetroCI" ) ) && ( testSectionName . equals ( "Immunology" ) ) ) { sw . setMark ( "Immuno<seq2seq4repair_space>time" ) ; totalTestName = StringUtil . getMessageForKey ( "test.validation.total.percent" ) ; List < ResultValidationItem > hematologyResults = getUnValidatedTestResultItemsInTestSection ( getTestSectionId ( "Hematology" ) , statusList ) ; addPrecentageResultsTotal ( hematologyResults ) ; testList . addAll ( hematologyResults ) ; sw . setMark ( "Hemo<seq2seq4repair_space>time" ) ; } } resultList = testResultListToAnalysisItemList ( testList ) ; sw . setMark ( ( "conversion<seq2seq4repair_space>done<seq2seq4repair_space>for<seq2seq4repair_space>" + ( resultList . size ( ) ) ) ) ; } sortByAccessionNumberAndOrder ( resultList ) ; sw . setMark ( "sorting<seq2seq4repair_space>done" ) ; setGroupingNumbers ( resultList ) ; sw . setMark ( "Grouping<seq2seq4repair_space>done" ) ; } sw . setMark ( "end" ) ; sw . report ( ) ; return resultList ; } private void addPrecentageResultsTotal ( List < ResultValidationItem > hematologyResults ) { } private String greaterSortNumber ( ResultValidationItem totalItem , ResultValidationItem resultItem ) { } private boolean isItemToBeTotaled ( ResultValidationItem resultItem ) { } private ResultValidationItem createTotalItem ( ResultValidationItem resultItem ) { } private String totalValues ( ResultValidationItem totalItem , ResultValidationItem additionalItem ) { } private void roundTotalItemValue ( Map < String , ResultValidationItem > accessionToTotalMap ) { } public List < ResultValidationItem > getUnValidatedElisaResultItemsInTestSection ( String id ) { } public List < ResultValidationItem > getUnValidatedTestResultItemsByTest ( String testName , List < Integer > statusList ) { } }

Fix:
testName = "GÃ©notypage" ;