public void When_StudentNotFound_Then_404()
        {
            // Arrange
            var students = new List <Student>(); // Represents no results

            // Act
            var httpResult = GetFromCosmosDbFn.GetStudentById(null, 0, students);

            // Assert
            httpResult.Should().BeOfType <NotFoundResult>();
        }
        public void When_StudentNotFound_Then_200WithStudent()
        {
            // Arrange
            var students = new List <Student>
            {
                new Student(Guid.NewGuid(), "Unit Test Student")
            };

            // Act
            var httpResult = GetFromCosmosDbFn.GetStudentById(null, 0, students);

            // Assert
            var objectResult = httpResult.Should().BeOfType <OkObjectResult>().Subject;

            objectResult.Value.Should().Be(students.Single());
        }