public async Task MustHaveSixPetOwnersTestMethod()
        {
            // Arrange
            PeopleViewModel peopleViewModel = this.GetViewModel();

            // Act
            await peopleViewModel.Initialize();

            // Assert
            Assert.AreEqual(6, peopleViewModel.People.Count);
        }
        public async Task MaleMustHave4PetsTestMethod()
        {
            // Arrange
            PeopleViewModel peopleViewModel = this.GetViewModel();

            // Act
            await peopleViewModel.Initialize();

            // Assert
            Assert.AreEqual(4, peopleViewModel.AllMaleOwnerCats.Count);
        }
        public async Task InitializeViewTestMethod()
        {
            // Arrange
            PeopleViewModel peopleViewModel = this.GetViewModel();

            // Act
            await peopleViewModel.Initialize();

            // Assert
            Assert.IsNotNull(peopleViewModel.People);
        }
        public async Task TestPeopleViewModel1Async()
        {
            // arrange
            Setup();

            var mockNavService    = new Mock <IMvxNavigationService>();
            var mockPeopleService = new Mock <IPeopleService>();

            mockPeopleService.Setup(foo => foo.GetPeopleAsync(It.IsAny <string>())).Returns((string url) => GetPeopleMoq(url));
            var test = new PeopleViewModel(mockPeopleService.Object, mockNavService.Object);
            // act

            await test.Initialize();

            // assert

            Assert.Equal(3, test.People.Count);
        }