title: unit test for a file import export module
body: <p>I am trying to write unit tests for a file import export module.</p>
  
  <p>One of my method checks that a filename passed exists.</p>
  
  <p>How would this be mocked and a test written to check if the file exists or not?</p>