Now that we have seen how to write the mock service with an in-memory database, let’s write the user interface that will use this mock service. The user interface will have the means to add, edit, delete, and show all records related to the Person, including the phone numbers. A screenshot of the user interface is shown in Figure 6-2.

Get hands-on with 1400+ tech skills courses.