Add proper unit tests for double-checked-locking pattern

This commit is contained in:
Jeroen Meulemeester
2015-12-10 22:11:21 +01:00
committed by Jeroen Meulemeester
parent 29fc56002a
commit 2edc1898b1
3 changed files with 126 additions and 0 deletions

View File

@ -12,5 +12,10 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>