public void ExistsEncodingFileTest() { //Arrange _fileSystem.Setup(m => m.PathCombine(NewTempPath, TempFileManager.EncodingFile)).Returns(TempFilePath); _fileSystem.Setup(m => m.FileExists(TempFilePath)).Returns(true); //Act var isExist = _tempFileManager.ExistsEncodingFile(); //Assert Assert.AreEqual(true, isExist); }