summaryrefslogtreecommitdiffstats
path: root/tests/server-side/com/vaadin/data/util/FileSystemContainerTest.java
blob: f4bb794e5cf4d8181aa38ca0fc885da17cc96423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.vaadin.data.util;

import java.io.File;

import org.junit.Assert;
import org.junit.Test;

public class FileSystemContainerTest {

    @Test
    public void nonExistingDirectory() {
        FilesystemContainer fsc = new FilesystemContainer(new File(
                "/non/existing"));
        Assert.assertTrue(fsc.getItemIds().isEmpty());
    }
}