adding mockito to the test scope
MODIFY
pom.xml
pom.xml
<version>2.8.8</version>
</dependency>
+ <!-- Logging dependencies -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.7.22</version>
+ <scope>test</scope>
</dependency>
</dependencies>

adding mockito to the test scope