}
public void testFilterAdapter() throws Exception
{
final VirtualFileFilter filter = getFilter();
final VirtualFileFilterAdapter filterAdapter = new VirtualFileFilterAdapter(filter);
final VirtualFile virtuFile = getRoot();
final FilterVirtualFileVisitor visitor = new FilterVirtualFileVisitor(filterAdapter, VisitorAttributes.RECURSE_LEAVES_ONLY);
virtuFile.visit(visitor);
final List<VirtualFile> matched = visitor.getMatched();