test_class.declarator: delegate
test_class.modifier: @Mock
test_class.original_string: @Mock DiscCacheAware delegate;
test_class.type: DiscCacheAware
test_class.var_name: delegate
test_class.file: volley-caches/src/test/java/com/navercorp/volleyextensions/cache/universalimageloader/disc/UniversalBaseDiscCacheTest.java
test_class.identifier: UniversalBaseDiscCacheTest
test_case.body: @Test
  	public void mkdirShoudBeCalledWhenDirectoryNotExists() {
  		// Given
  		File cacheDir = mock(File.class); 
  		given(cacheDir.exists()).willReturn(false);
  		given(cacheDir.mkdir()).willReturn(true);
  		UniversalBaseDiscCache discCache = new UniversalBaseDiscCache(cacheDir, delegate){}; 
  		// When
  		discCache.initialize();
  		// Then
  		verify(cacheDir).mkdir();
  	}
test_case.class_method_signature: UniversalBaseDiscCacheTest.mkdirShoudBeCalledWhenDirectoryNotExists()
test_case.full_signature: @Test public void mkdirShoudBeCalledWhenDirectoryNotExists()
test_case.identifier: mkdirShoudBeCalledWhenDirectoryNotExists
test_case.invocations: mock willReturn given exists willReturn given mkdir initialize mkdir verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void mkdirShoudBeCalledWhenDirectoryNotExists()
focal_class.declarator: cacheDir
focal_class.modifier: private
focal_class.original_string: private File cacheDir;
focal_class.type: File
focal_class.var_name: cacheDir
focal_class.file: volley-caches/src/main/java/com/navercorp/volleyextensions/cache/universalimageloader/disc/UniversalBaseDiscCache.java
focal_class.identifier: UniversalBaseDiscCache
focal_class.class_method_signature: UniversalBaseDiscCache.UniversalBaseDiscCache(File cacheDir, DiscCacheAware delegate)
focal_class.full_signature: protected  UniversalBaseDiscCache(File cacheDir, DiscCacheAware delegate)
focal_class.identifier: UniversalBaseDiscCache
focal_class.modifiers: protected
focal_class.parameters: (File cacheDir, DiscCacheAware delegate)
focal_class.signature:  UniversalBaseDiscCache(File cacheDir, DiscCacheAware delegate)
focal_class.class_method_signature: UniversalBaseDiscCache.initialize()
focal_class.full_signature: @Override public synchronized void initialize()
focal_class.identifier: initialize
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_class.superclass: extends UniversalDiscCache
focal_method.body: @Override
  	public synchronized void initialize() {
  		if (cacheDir.exists()) {
  			return;
  		}
  		if (!cacheDir.mkdir()) {
  			VolleyLog.e("Unable to create cache dir %s",
  					cacheDir.getAbsolutePath());
  		}
  	}
focal_method.class_method_signature: UniversalBaseDiscCache.initialize()
focal_method.full_signature: @Override public synchronized void initialize()
focal_method.identifier: initialize
focal_method.invocations: exists mkdir e getAbsolutePath
focal_method.modifiers: @Override public synchronized
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void initialize()