@Test
  public void shouldReturnTheNumberOfTestsRun() {
    JavaClass javaClass = mock(JavaClass.class);

    testsToExpect(javaClass);

    assertEquals(1, core.update(updatedFiles));
  }
 @Test
 public void canUseAKnownListOfChangedFilesToReduceFileSystemAccess() {
   testsToExpect();
   core.update(updatedFiles);
 }