public void WriteFile_WithBlock_ReturnsExpectedResult() { var namer = Approvals.GetDefaultNamer(); var file = Path.Combine(namer.SourcePath, namer.Name + ".received.stl"); ObjectUnderTest.WriteToFile(file, TestHelpers.BlockExpectedResult); Approvals.Verify(new FileInfo(file)); }