DelegatedResult (ITestResult result) { final DelegatedResult newResult = new DelegatedResult(result); final DelegatedResult oldResult = myResults.get(newResult); if (oldResult != null) { return oldResult; } myResults.put(newResult, newResult); return newResult; }