Upgraded Mockito, and added message and retries to ConsolePasswordFinder

* Upgraded Mockito to 2.8.47 (latest)
* Added extension to allow mocking final classes
* ConsolePasswordFinder allows custom message and number of retries
* Added builder for ConsolePasswordFinder
* Added more unit tests
This commit is contained in:
Matt Dailey
2017-07-07 10:36:21 -04:00
committed by Jeroen van Erp
parent 303c03061c
commit aed3decf1d
4 changed files with 130 additions and 18 deletions

View File

@@ -36,7 +36,7 @@ dependencies {
testCompile "junit:junit:4.11"
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
testCompile "org.mockito:mockito-core:1.9.5"
testCompile "org.mockito:mockito-core:2.8.47"
testCompile "org.apache.sshd:sshd-core:1.2.0"
testRuntime "ch.qos.logback:logback-classic:1.1.2"
testCompile 'org.glassfish.grizzly:grizzly-http-server:2.3.17'