@Test public void testReset() throws IOException { fixtureStore.addLocation(new Location("fixtures/animals/pets")); fixtureStore.reset(); assertTrue(fixtureStore.getFixtureLocations().isEmpty()); assertTrue(fixtureStore.getFixtureFiles().isEmpty()); assertTrue(fixtureStore.getFixtureMaps().isEmpty()); }
@Override public void reset() { fixtureLocations = new HashSet<>(); fixtureFiles = new HashSet<>(); fixtureMaps = new HashMap<>(); }
DefaultFixturesStore implements FixturesStore { @Override public void reset() { fixtureLocations = new HashSet<>(); fixtureFiles = new HashSet<>(); fixtureMaps = new HashMap<>(); } }
DefaultFixturesStore implements FixturesStore { @Override public void reset() { fixtureLocations = new HashSet<>(); fixtureFiles = new HashSet<>(); fixtureMaps = new HashMap<>(); } DefaultFixturesStore();  DefaultFixturesStore(FixtureScanner fixtureScanner, FixtureParser fixtureParser); }
DefaultFixturesStore implements FixturesStore { @Override public void reset() { fixtureLocations = new HashSet<>(); fixtureFiles = new HashSet<>(); fixtureMaps = new HashMap<>(); } DefaultFixturesStore();  DefaultFixturesStore(FixtureScanner fixtureScanner, FixtureParser fixtureParser); @Override FixtureMap get(String fixtureKey); @Override FixtureMap reproduce(String fixtureKey); @Override boolean exists(String fixtureKey); @Override void addLocation(Location location); @Override void reset(); Set<Location> getFixtureLocations(); Set<File> getFixtureFiles(); Map<String, FixtureMap> getFixtureMaps(); }
DefaultFixturesStore implements FixturesStore { @Override public void reset() { fixtureLocations = new HashSet<>(); fixtureFiles = new HashSet<>(); fixtureMaps = new HashMap<>(); } DefaultFixturesStore();  DefaultFixturesStore(FixtureScanner fixtureScanner, FixtureParser fixtureParser); @Override FixtureMap get(String fixtureKey); @Override FixtureMap reproduce(String fixtureKey); @Override boolean exists(String fixtureKey); @Override void addLocation(Location location); @Override void reset(); Set<Location> getFixtureLocations(); Set<File> getFixtureFiles(); Map<String, FixtureMap> getFixtureMaps();  }