RunIndexWrapper { public abstract int countUrls(); RunIndexWrapper(Run<T> objectToRunWrapper); static void cleanUrlFromExecutionData(Url url); Optional<Url> getTestUrl(String testName, final String urlName); Optional<Test> getTest(String testName); Run<T> get(); abstract List<UrlPacket> getUrlPackets(); abstract int countUrls(); @Override String toString();  }
@Test public void countUrls_expectZero() { assertThat(testRunIndexWrapper.countUrls(), is(0)); }
@Test public void countUrls_expectTwo() { prepareTwoUrls(); assertThat(testRunIndexWrapper.countUrls(), is(2)); }