### Question:
ConfigurationColumnViewItem { public String getTitle() { Resource jcrContent = resource.getChild(JcrConstants.JCR_CONTENT); ValueMap properties = jcrContent != null ? jcrContent.getValueMap() : resource.getValueMap(); return properties.get(JcrConstants.JCR_TITLE, resource.getName()); }  @PostConstruct void initModel(); String getTitle(); boolean hasChildren(); List<String> getQuickActionsRel();  }### Answer:
@Test public void testGetTitle() { context.currentResource(context.resourceResolver().getResource(CONFIGURATION_PATH)); ConfigurationColumnViewItem columnViewItem = context.request().adaptTo(ConfigurationColumnViewItem.class); Assert.assertEquals("Returns the correct title", "Mock configuration", columnViewItem.getTitle()); }