Getting error when trying to mock class method to return value it is call real method
Below is the test class ` @RunWith(Parameterized.class) @SpringBootTest(classes = TelelogServiceApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) @ActiveProfiles(“default”) public class AtplInfotest { private final static String ATPL_NEGATIVE_ID_NTG6 = “{“meta”:{“ATPL_ID”:”-1″}}”; private final String serviceVersion; private String ntgVersion; private String snapVersion; private String defaultAtplId; private String apiVersion; private String ecuSnapHeader; private Class<?> clazz; private MockMvc mockMvc; @Mock private HttpClient httpClient; @Mock … Read more