### Question:
DefaultPmoNlsService implements PmoNlsService { @Override public String getSectionCaption(Class<?> pmoClass, String fallbackValue) { return getLabel(pmoClass, PmoNlsService.getSectionCaptionKey(pmoClass), fallbackValue); } DefaultPmoNlsService();  DefaultPmoNlsService(PmoBundleNameGenerator bundleNameGenerator); @Override String getSectionCaption(Class<?> pmoClass, String fallbackValue); @Override String getLabel(Class<?> pmoClass, String propertyName, String aspectName, String fallbackValue);  }### Answer:
@Test public void testGetSectionCaption() { DefaultPmoNlsService defaultPmoNlsService = new DefaultPmoNlsService(); assertThat(defaultPmoNlsService.getSectionCaption(DefaultPmoNlsServiceTest.class, "bar"), is("TheCaption")); }