@Test public void compileSkinFileWhenInCacheButCacheDisabled() throws Exception { when(lessContext.isCacheDisabled()).thenReturn(true); when(cachedLESSCompiler.compute(eq(lessResourceReference), eq(false), eq(false),eq(true), eq("skin"))). thenReturn("compiled output"); assertEquals("compiled output", mocker.getComponentUnderTest().compile(lessResourceReference, false, false, "skin", true)); verifyZeroInteractions(cache); }
@Override public String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, boolean force) throws LESSCompilerException { return super.getResult(lessResourceReference, includeSkinStyle, useVelocity, force); }
DefaultLESSCompiler extends AbstractCachedCompiler<String> implements LESSCompiler,
    Initializable { @Override public String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, boolean force) throws LESSCompilerException { return super.getResult(lessResourceReference, includeSkinStyle, useVelocity, force); } }
DefaultLESSCompiler extends AbstractCachedCompiler<String> implements LESSCompiler,
    Initializable { @Override public String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, boolean force) throws LESSCompilerException { return super.getResult(lessResourceReference, includeSkinStyle, useVelocity, force); }  }
DefaultLESSCompiler extends AbstractCachedCompiler<String> implements LESSCompiler,
    Initializable { @Override public String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, boolean force) throws LESSCompilerException { return super.getResult(lessResourceReference, includeSkinStyle, useVelocity, force); }  @Override void initialize(); @Override String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity,
                          boolean force); @Override String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity,
                         String skin, boolean force); }
DefaultLESSCompiler extends AbstractCachedCompiler<String> implements LESSCompiler,
    Initializable { @Override public String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity, boolean force) throws LESSCompilerException { return super.getResult(lessResourceReference, includeSkinStyle, useVelocity, force); }  @Override void initialize(); @Override String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity,
                          boolean force); @Override String compile(LESSResourceReference lessResourceReference, boolean includeSkinStyle, boolean useVelocity,
                         String skin, boolean force);  }