private void testsToExpect(JavaClass... tests) { when(testDetector.findTestsToRun(updatedFiles)).thenReturn(newHashSet(tests)); }