title: Where to store a binary file to be used for unit testing
body: <p>Where should I store a resource (binary file in my case) that I need to use for unit testing?</p>
  
  <p>Specifically, my directory structure is a standard:</p>
  
  <pre><code>src -&gt; main -&gt; java -&gt; com.company.project -&gt; classes...
      -&gt; test -&gt; java -&gt; com.company.project -&gt; classes...
  </code></pre>
  
  <p>I want to mock a file being read from the file system and replace it with a file from within my project.</p>