### Question:
PageCompareDataLoaderImpl implements PageCompareDataLoader { @Override public PageCompareData load(Resource resource, String versionName) throws RepositoryException { return new PageCompareDataImpl(resource, versionName); }  @Override PageCompareData load(Resource resource, String versionName);  }### Answer:
@Test public void shouldInitialize() throws Exception { Resource resource = mockResource("/my/path", "latest", new Date()); PageCompareDataLoader one2OneData = new PageCompareDataLoaderImpl(); final PageCompareData data = one2OneData.load(resource, "latest"); assertNotNull(data); }