'What will be the output of this code by unit testing with mockito and Junit
public ResponseEntity<Object> getAirlines() {
LOGGER.info("getAirlines: Getting all airlines.");
return new ResponseEntity<>(this.airlineService.getAllAirlines(), HttpStatus.OK);
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|