@Before
 public void setup() throws Exception {
   dirHandle = new FileHandle(0, 1, 0, new byte[] {0, 0, 0, 1}); // the dir we want to read
   dirInode = new Inode(dirHandle);
   dirStat = new Stat(); // the stat marking it as a dir
   //noinspection OctalInteger
   dirStat.setMode(Stat.S_IFDIR | 0755);
   dirStat.setMTime(System.currentTimeMillis());
   dirStat.setATime(System.currentTimeMillis());
   dirStat.setCTime(System.currentTimeMillis());
   dirStat.setGeneration(1);
   dirStat.setNlink(2);
   dirStat.setUid(1);
   dirStat.setGid(2);
   dirStat.setDev(1);
   dirStat.setFileid(1);
   dirStat.setSize(512);
   vfs = Mockito.mock(VirtualFileSystem.class); // the vfs serving it
   Mockito.when(vfs.getattr(Mockito.eq(dirInode))).thenReturn(dirStat);
   ExportFile exportFile =
       new ExportFile(this.getClass().getResource("simpleExports").toURI()); // same package as us
   nfsServer = new NfsServerV3(exportFile, vfs);
 }