This too, shall pass.
See more
The test boundaries for unit testing a FaaS Function appears to be very close to an integration test versus a component test within a microservice approach.
Let’s change the code to use File.ReadLines() instead of File.ReadAllLines() and see how it goes:
File.ReadLines()
File.ReadAllLines()