public class

TestOptionalReadThroughCache

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.user.crowd.TestOptionalReadThroughCache

Class Overview

Unit tests for OptionalReadThroughCache

Summary

Public Constructors
TestOptionalReadThroughCache()
Public Methods
void testFoundValueCachesSome()
void testMissingGetCallsFactory()
void testMissingGetCallsFactoryOnlyOnce()
void testMissingValueCachesNone()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestOptionalReadThroughCache ()

Public Methods

public void testFoundValueCachesSome ()

public void testMissingGetCallsFactory ()

public void testMissingGetCallsFactoryOnlyOnce ()

public void testMissingValueCachesNone ()

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception