Пример #1
0
        public void FileComplete_ShouldCallYamlTextWriterFinishWriting()
        {
            // Arrange
            var testee = CreateTestee();

            // Act
            testee.FileComplete();

            // Assert
            A.CallTo(() => _yamlTextWriter.FinishWriting()).MustHaveHappened();
        }
 public void FileComplete()
 {
     _yamlTextWriter.FinishWriting();
 }