Offline tests with mocked Vault server

Added some tests that do not require an actual Vault server to test constructors and exceptional behavior.
This commit is contained in:
2017-09-25 20:39:13 +02:00
parent 29776f459e
commit 4b14ab3f4b
2 changed files with 168 additions and 13 deletions

12
pom.xml
View File

@ -107,5 +107,17 @@
<version>1.16.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.7.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.7.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>