Integer (Integer invocationCount, ExposedTestResult result) { List<Integer> includeMethods = result.getIncludeMethods(); if (includeMethods == null || invocationCount >= includeMethods.size()) { return invocationCount; } return includeMethods.get(invocationCount); }