Junit Test case for httpStatus.OK and httpStatus.Bad_Request
How to test my service class which has storeInDb() method and is returning database model and httpstatus.OK and httpstatus.Bad_Request along with body. public ResponseEntity storeInDb(ExeEntity model) …