@Test public void testGetSectionCaption() { DefaultPmoNlsService defaultPmoNlsService = new DefaultPmoNlsService(); assertThat(defaultPmoNlsService.getSectionCaption(DefaultPmoNlsServiceTest.class, "bar"), is("TheCaption")); }
@Override public String getSectionCaption(Class<?> pmoClass, String fallbackValue) { return getLabel(pmoClass, PmoNlsService.getSectionCaptionKey(pmoClass), fallbackValue); }
DefaultPmoNlsService implements PmoNlsService { @Override public String getSectionCaption(Class<?> pmoClass, String fallbackValue) { return getLabel(pmoClass, PmoNlsService.getSectionCaptionKey(pmoClass), fallbackValue); } }
DefaultPmoNlsService implements PmoNlsService { @Override public String getSectionCaption(Class<?> pmoClass, String fallbackValue) { return getLabel(pmoClass, PmoNlsService.getSectionCaptionKey(pmoClass), fallbackValue); } DefaultPmoNlsService();  DefaultPmoNlsService(PmoBundleNameGenerator bundleNameGenerator); }
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); }
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);  }