@Test public void readHarGeneratedByBrowsermob() throws Exception { File harFile = Fixtures.copyBrowsermobGeneratedHarFile(temporaryFolder.getRoot().toPath()); Har har = new EasierHarReaderFactory().createReader().readFromFile(harFile, HarReaderMode.STRICT); HarEntry entryWithBadDate = har.getLog().getEntries().iterator().next(); assertNotNull("date with bad format", entryWithBadDate.getStartedDateTime()); assertNotEquals("date to epoch millis", 0L, entryWithBadDate.getStartedDateTime().getTime()); }
@Override public HarReader createReader() { return new HarReader(createMapperFactory()); }
EasierHarReaderFactory implements HarReaderFactory { @Override public HarReader createReader() { return new HarReader(createMapperFactory()); } }
EasierHarReaderFactory implements HarReaderFactory { @Override public HarReader createReader() { return new HarReader(createMapperFactory()); }  }
EasierHarReaderFactory implements HarReaderFactory { @Override public HarReader createReader() { return new HarReader(createMapperFactory()); }  @Override HarReader createReader(); }
EasierHarReaderFactory implements HarReaderFactory { @Override public HarReader createReader() { return new HarReader(createMapperFactory()); }  @Override HarReader createReader();  }