@Test
public void testGetBasename() {

    // this tests don't work on windows (backslash!)
    // assertEquals( "/tmp/foo", FileUtils.getBasename( new File( "/tmp/foo.txt" ) ) );
    // assertEquals( "/tmp/foo", FileUtils.getBasename( new File( "/tmp/foo" ) ) );
    // assertEquals( "../foo", FileUtils.getBasename( new File( "../foo.txt" ) ) );
    // assertEquals( "/tmp", FileUtils.getBasename( new File( "/tmp/" ) ) );
    // assertEquals( "/tmp.dir/foo", FileUtils.getBasename( new File( "/tmp.dir/foo" ) ) );
    // assertEquals( "", FileUtils.getBasename( new File( "" ) ) );
}