InMemoryUnitsDAO implements UnitsDAO { @Override public Iterable<Unit> getUnits() { return unitByUnitLocation.values(); }  @Override void addUnitItem(URI documentURI, int begin, int end,
                            String annotatorId, String annotatorClass); @Override Iterable<Unit> getUnits(); @Override void toTSV(Writer writer); @Override void addUnitsFromTSV(Reader reader);  }
@Test public void testGetUnits() throws URISyntaxException { assertUnits(dao); }