FileUtils.copyFileToDirectory( dummy, sub );
String url = getTestRepositoryUrl() + "/" + dir;
Repository repo = new Repository( "foo", url );
Wagon wagon = getWagon();
wagon.connect( repo, getAuthInfo() );
List<String> files = wagon.getFileList( subDir );
assertNotNull( files );
assertEquals( 1, files.size() );
assertTrue( files.contains( "dummy.txt" ) );