Exemplo n.º 1
0
        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));
        }