Verifies the contents of a file.
[Fact]
public Task VerifyFilePath() =>
VerifyFile("sample.txt");
An optional info
parameter can be supplied to add more context to the test. The instance passed will be json serialized.
[Fact]
public Task VerifyFileWithInfo() =>
VerifyFile(
"sample.txt",
info: "the info");