Fix potential file handle leak in Attachment (#539)

* Make mockito available everywhere (core in particular).
* Also set the not-found path as FNFE message.
This commit is contained in:
Andrzej Cichocki
2017-04-12 15:30:28 +01:00
committed by GitHub
parent ac337240a6
commit 3e007c02f4
4 changed files with 53 additions and 3 deletions

View File

@ -25,6 +25,7 @@ dependencies {
// Unit testing helpers.
compile "junit:junit:$junit_version"
compile "com.nhaarman:mockito-kotlin:1.1.0"
// Guava: Google test library (collections test suite)
compile "com.google.guava:guava-testlib:$guava_version"