@Test void remove_all_locations() { repository.removeAll(); verify(crudRepository).deleteAll(); }
@Override public void removeAll() { repository.deleteAll(); }
LocationRepositoryImpl implements LocationRepository { @Override public void removeAll() { repository.deleteAll(); } }
LocationRepositoryImpl implements LocationRepository { @Override public void removeAll() { repository.deleteAll(); } @Autowired  LocationRepositoryImpl(LocationCrudRepository repository); }
LocationRepositoryImpl implements LocationRepository { @Override public void removeAll() { repository.deleteAll(); } @Autowired  LocationRepositoryImpl(LocationCrudRepository repository); @Override Location createLocation(Coordinates coordinates, String description); @Override List<Location> locations(); @Override Location removeLocation(long id); @Override void removeAll(); @Override Optional<Location> find(long locationId); }
LocationRepositoryImpl implements LocationRepository { @Override public void removeAll() { repository.deleteAll(); } @Autowired  LocationRepositoryImpl(LocationCrudRepository repository); @Override Location createLocation(Coordinates coordinates, String description); @Override List<Location> locations(); @Override Location removeLocation(long id); @Override void removeAll(); @Override Optional<Location> find(long locationId);  }