Returning a Real Response

Our json test helper currently returns an anonymous class which has hardcoded values.

We need to start refactoring towards a real implementation so let's instead get it to return an instance of a Response class. Obviously we don't yet have a Response class but the good news is that our tests are going to tell us that.

Branch: https://github.com/GaryClarke/pest-tdd/tree/5-returning-a-real-response

Complete and Continue  
Discussion

0 comments