public void DeleteAllTempFilesTest() { //Arrange _fileSystem.Setup(m => m.DirectoryExists(It.IsAny <string>())).Returns(true); //Act _tempFileManager.DeleteAllTempFiles(); //Assert _fileSystem.Verify(m => m.DeleteDirectory(NewTempPath), Times.Once()); }