public async Task StudentGroupCreatedInStudentsPageTest() { var _azureService = new MockAzureService(); var _dialogService = new MockPageDialogService(); var app = new App(_azureService); var studentsViewModel = new TeacherStudentsPageViewModel(null, _dialogService); studentsViewModel.OnNavigatingTo(null); studentsViewModel.ExecuteCreateGroupCommand(); var studentGroupsTable = await _azureService.GetTableAsync <StudentGroup>(); var studentGroups = await studentGroupsTable.ReadAllItemsAsync(); Assert.IsTrue(studentGroups.Count == 3); }