Given the user is authenticated
When the client performs a POST operation to the /products/n/like URL
Then that preference should be created for the current user
Given the user is authenticated
When the client performs a DELETE operation to the /products/n/like URL
Then that preference should be removed for the current user
Given the user is authenticated
When the client performs a GET operation to the /products/liked URL
Then the response should contain a list of products liked by the user
Given the user is authenticated When the client performs a POST operation to the
/products/n/like
URL Then that preference should be created for the current userGiven the user is authenticated When the client performs a DELETE operation to the
/products/n/like
URL Then that preference should be removed for the current userGiven the user is authenticated When the client performs a GET operation to the
/products/liked
URL Then the response should contain a list of products liked by the userAll likes should be displayed in the user profile