Nuñito Calzada
Nuñito Calzada

Reputation: 2056

Mocking Spring Boot

I want to implements tests in Spring Boot (Spring Boot 1.4.2.RELEASE), so I am checking this example

https://spring.io/blog/2016/04/15/testing-improvements-in-spring-boot-1-4

but not able to find the given method anywhere in this package

import static org.mockito.Mockito.*

Upvotes: 3

Views: 145

Answers (1)

jny
jny

Reputation: 8057

On the bottom of the article there is a link to the github repo with the full source of the test. There you can see the following line:

import static org.mockito.BDDMockito.given;

Upvotes: 4

Related Questions