MockControl fsCtrl = MockClassControl.createControl(FileSet.class);
FileSet fileset = (FileSet)fsCtrl.getMock();
fileset.getDirectoryScanner(null);
fsCtrl.setDefaultMatcher(MockClassControl.ALWAYS_MATCHER);
fsCtrl.setReturnValue(scanner);
scanner.scan();
scanner.getIncludedFiles();
dsCtrl.setReturnValue(new String[]{"foo.xml", "bar", "spam.xml", "eggs"});
scanner.getBasedir();
dsCtrl.setReturnValue(new File("."), 2);