This is the method to write the JUnit test cases for Inside the LoanApiCallEntity class these are the following: This is the test case I have tried, but it shows an error: The error shown while running the project (mvn test) is – LoanApiCallEntity cannot be returned by getAllApiCallDetails(). Answer getAllApiCallDetails() returns a list of objects so you need to
Advertisement
Tag: springmockito
Advertisement