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)); }
public bool DeleteMovie(string MoviePath) { return(FileSystemService.Delete(MoviePath)); }