In this section, we'll take a look at how to create the WalkEntryPageViewModelTest class that will be used for our second unit test to ensure that our ViewModel is properly initialized after the Init instance method is called to determine if our unit test passes or fails under each of the different test conditions.
Let's see how we can achieve this by performing the following steps:
- Right-click on the TrackMyWalks.UnitTests project and choose Add | New File... from the pop-up menu. Then, choose the Empty Class option under the General section, as you did in the section entitled Creating and implementing the WalksMainPageViewModelTest located within this chapter.
- Next, enter ...