@Test
public void testMkDirs() throws IOException {

  Path path = new Path(localDir.toUri().getPath(),
      new Path(name.getMethodName(), "subdirectory"));
  sftpFs.mkdirs(path);
  assertTrue(localFs.exists(path));
  assertTrue(localFs.getFileStatus(path).isDirectory());
  assertThat(((SFTPFileSystem) sftpFs).getConnectionPool().getLiveConnCount(),
      is(1));
}