On page 20, in the third code snippet, the following line:
PersonRepository mockRepo = new PersonService(mockRepo);
should be replaced with:
PersonRepository mockRepo = new PersonRepository(mockRepo);
Thank you.
On page 20, in the third code snippet, the following line:
PersonRepository mockRepo = new PersonService(mockRepo);
should be replaced with:
PersonRepository mockRepo = new PersonRepository(mockRepo);
Thank you.