Spotbug is giving the violation for the below code
@SpringBootTest @ActiveProfiles("test") class LocationServiceTest { @MockBean