issues
search
singhsanket143
/
UberProject-ReviewService
4
stars
4
forks
source link
added ReviewController and its test cases
#3
Open
evidentart
opened
4 months ago
evidentart
commented
4 months ago
Review Controller Implementation
Added the ReviewController class responsible for handling RESTful API endpoints related to reviews.
Implemented methods to retrieve reviews by ID, retrieve all reviews, and delete reviews by ID.
Utilized Spring annotations for request mapping, dependency injection, and response handling.
Review Controller Unit Testing
Created the ReviewControllerTest class to test the behavior of the ReviewController class.
Implemented test methods to verify the functionality of the deleteReviewById method under different scenarios.
Utilized Mockito framework for mocking dependencies and simulating service behavior.
Ensured proper HTTP status code responses and service method invocations are verified.
Review Controller Implementation
Review Controller Unit Testing