You try it
Identify a method in the ViewModel or service that interacts with the API or database, and write a unit test that uses a mock.
Identify a method in the ViewModel or service that interacts with the API or database, and write a unit test that uses a mock.