Hi @anupampat tried the above code not working getting below error org.mockito.exceptions.misusing.MissingMethodInvocationException: when() requires an argument which has to be 'a method call on a mock'.For example: when(mock.getArticles()).thenReturn(articles); Also, this error might show up bec...