@Test
@DisplayName("Check that the handle lists directory contents")
void list_1(@TempDir Path temp) throws IOException {

	Files.createDirectory(temp.resolve("test1"));
	Files.createFile(temp.resolve("small_file.txt"));
	try (FsHandle fs = new FsHandle(temp.toString())) {
		assertTrue(fs.list().stream().anyMatch(listlet -> {
			return "test1".equals(listlet.getName()) && listlet.getDirectory() == true;
		}));
		assertTrue(fs.list().stream().anyMatch(listlet -> {
			return "small_file.txt".equals(listlet.getName()) && listlet.getDirectory() == false;
		}));
		assertEquals(2, fs.list().size());
	}
}