* Test persistence of {@link LastHarvested}.
*/
public class LastHarvestedTest {
@Test
public void testLastHarvested() {
PersistenceEnv penv = newPenv();
assertEquals(Option.none(), LastHarvested.getLastHarvestDate(penv, "bla"));
DateTime now = new DateTime();
Date a = now.toDate();
// save
LastHarvested.update(penv, new LastHarvested("url-1", a));