@Test
public void processPathWithSnapshotHeader() throws Exception {

  Path path = new Path("mockfs:/test");
  when(mockFs.getFileStatus(eq(path))).thenReturn(fileStat);
  PrintStream out = mock(PrintStream.class);
  Count count = new Count();
  count.out = out;
  LinkedList<String> options = new LinkedList<String>();
  options.add("-s");
  options.add("-v");
  options.add("dummy");
  count.processOptions(options);
  String withSnapshotHeader = "   DIR_COUNT   FILE_COUNT       CONTENT_SIZE "
      + "   SNAPSHOT_LENGTH      SNAPSHOT_FILE_COUNT      "
      + " SNAPSHOT_DIR_COUNT      SNAPSHOT_SPACE_CONSUMED PATHNAME";
  verify(out).println(withSnapshotHeader);
  verifyNoMoreInteractions(out);
}