@Test public void compileSkinFile() throws Exception { LESSResourceReference style = mock(LESSResourceReference.class); when(lessResourceReferenceFactory.createReferenceForSkinFile("style.less")).thenReturn(style); mocker.getComponentUnderTest().compileSkinFile("style.less"); verify(lessCompiler).compile(style, false, true, false); LESSResourceReference style2 = mock(LESSResourceReference.class); when(lessResourceReferenceFactory.createReferenceForSkinFile("style2.less")).thenReturn(style2); mocker.getComponentUnderTest().compileSkinFile("style2.less", true); verify(lessCompiler).compile(style2, false, true, true); LESSResourceReference style3 = mock(LESSResourceReference.class); when(lessResourceReferenceFactory.createReferenceForSkinFile("style3.less")).thenReturn(style3); mocker.getComponentUnderTest().compileSkinFile("style3.less", false); verify(lessCompiler).compile(style3, false, true, false); }
public String compileSkinFile(String fileName) { return compileSkinFile(fileName, false); }
LessCompilerScriptService implements ScriptService { public String compileSkinFile(String fileName) { return compileSkinFile(fileName, false); } }
LessCompilerScriptService implements ScriptService { public String compileSkinFile(String fileName) { return compileSkinFile(fileName, false); }  }
LessCompilerScriptService implements ScriptService { public String compileSkinFile(String fileName) { return compileSkinFile(fileName, false); }  String compileSkinFile(String fileName); String compileSkinFile(String fileName, boolean force); String compileSkinFile(String fileName, String skin); String compileSkinFile(String fileName, String skin, boolean force); ColorTheme getColorThemeFromSkinFile(String filename); ColorTheme getColorThemeFromSkinFile(String filename, String skin); boolean clearCache(); boolean clearCacheFromColorTheme(String colorTheme); boolean clearCacheFromSkin(String skin); }
LessCompilerScriptService implements ScriptService { public String compileSkinFile(String fileName) { return compileSkinFile(fileName, false); }  String compileSkinFile(String fileName); String compileSkinFile(String fileName, boolean force); String compileSkinFile(String fileName, String skin); String compileSkinFile(String fileName, String skin, boolean force); ColorTheme getColorThemeFromSkinFile(String filename); ColorTheme getColorThemeFromSkinFile(String filename, String skin); boolean clearCache(); boolean clearCacheFromColorTheme(String colorTheme); boolean clearCacheFromSkin(String skin);  }