@Test(expected = DynamicSkinException.class) public void throwsExceptionIfPreferenceNotFound() { this.preferenceNotFound( PrefValueDynamicSkinCssFileNamer.SKIN_CSS_FILE_NAME_PREFERENCE_NAME); this.namer.generateCssFileName(this.data); }
@Override public String generateCssFileName(final DynamicSkinInstanceData data) { final PortletPreferences preferences = data.getPortletRequest().getPreferences(); return getCssFileName(preferences); }
PrefValueDynamicSkinCssFileNamer implements DynamicSkinCssFileNamer { @Override public String generateCssFileName(final DynamicSkinInstanceData data) { final PortletPreferences preferences = data.getPortletRequest().getPreferences(); return getCssFileName(preferences); } }
PrefValueDynamicSkinCssFileNamer implements DynamicSkinCssFileNamer { @Override public String generateCssFileName(final DynamicSkinInstanceData data) { final PortletPreferences preferences = data.getPortletRequest().getPreferences(); return getCssFileName(preferences); } PrefValueDynamicSkinCssFileNamer();  PrefValueDynamicSkinCssFileNamer(final String prefName); }
PrefValueDynamicSkinCssFileNamer implements DynamicSkinCssFileNamer { @Override public String generateCssFileName(final DynamicSkinInstanceData data) { final PortletPreferences preferences = data.getPortletRequest().getPreferences(); return getCssFileName(preferences); } PrefValueDynamicSkinCssFileNamer();  PrefValueDynamicSkinCssFileNamer(final String prefName); @Override String generateCssFileName(final DynamicSkinInstanceData data); }
PrefValueDynamicSkinCssFileNamer implements DynamicSkinCssFileNamer { @Override public String generateCssFileName(final DynamicSkinInstanceData data) { final PortletPreferences preferences = data.getPortletRequest().getPreferences(); return getCssFileName(preferences); } PrefValueDynamicSkinCssFileNamer();  PrefValueDynamicSkinCssFileNamer(final String prefName); @Override String generateCssFileName(final DynamicSkinInstanceData data); static final String SKIN_CSS_FILE_NAME_PREFERENCE_NAME; }