public async Task EditPageTest() { await _studentRepository.AddStudents(_groupRepository, _courseRepository, 1); var students = await _studentRepository.GetAll(); var student = students.First(); var dictionary = new Dictionary <string, string> { { "id", $"{student.Id}" } }; var responseString = await _client.GetResponseFromRequest(HttpMethod.Post, "/Student/Edit", dictionary); Assert.Contains(student.FirstName, responseString); Assert.Contains(student.LastName, responseString); }