### Question:
ContentPageMapperManager extends AbstractService implements IContentPageMapperManager, PageChangedObserver { @Override public String getPageCode(String contentId) { return this.getCacheWrapper().getPageCode(contentId); }  @Override void init(); @Override void reloadContentPageMapper(); @Override String getPageCode(String contentId); @Override void updateFromPageChanged(PageChangedEvent event); void setPageManager(IPageManager pageManager); void setCacheWrapper(IContentMapperCacheWrapper cacheWrapper);  }### Answer:
@Test public void testGetPage() throws Throwable { Mockito.when(cacheWrapper.getPageCode(Mockito.anyString())).thenReturn("pageCode"); String pageCode = this.pageMapperManager.getPageCode("ART1"); Assert.assertNotNull(pageCode); Assert.assertEquals("pageCode", pageCode); }