Ejemplo n.º 1
0
        public void Given_A_LocalFileFullPath_Should_Invoke_Delete_Method_Once()
        {
            // Arrange
            const string localFileFullPath = @"c:\images\pic.png";

            // Act
            _sut.Delete(localFileFullPath);

            // Assert
            _fileSystem.Received(1).Delete(Arg.Is(localFileFullPath));
        }
Ejemplo n.º 2
0
 public bool DeleteMovie(string MoviePath)
 {
     return(FileSystemService.Delete(MoviePath));
 }