From d42a54e8802f734676b30805c88c8b19eb44e0e6 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 7 Feb 2017 16:35:16 +0100 Subject: [PATCH] Add explicit note about Mockito 2 in the documentation Closes gh-8217 --- .../src/main/asciidoc/spring-boot-features.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index a534cc3637..a3324e56f0 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -5204,6 +5204,13 @@ the following provided libraries: * https://github.com/skyscreamer/JSONassert[JSONassert] -- An assertion library for JSON. * https://github.com/jayway/JsonPath[JsonPath] -- XPath for JSON. + +[NOTE] +==== +By default, Spring Boot uses Mockito 1.x. However it's also possible to use 2.x if you +wish. +==== + These are common libraries that we generally find useful when writing tests. You are free to add additional test dependencies of your own if these don't suit your needs.