AWSSDK.UnitTests.OptimisticLockedFileTest.ProperTruncation C# (CSharp) Method

ProperTruncation() private method

private ProperTruncation ( ) : void
return void
        public void ProperTruncation()
        {
            using (var tester = new OptimisticLockedTextFileTester())
            {
                tester.AssertPersist(UnixLine + UnixLine, UnixLine, UnixLine);
                tester.TextFile.Lines.RemoveAt(0);
                tester.TextFile.Persist();
                tester.AssertFileContents(UnixLine);
            }
        }