public void test(TestHarness harness)
{
JFileChooser fc = new JFileChooser();
File f = new File(System.getProperty("user.home"));
harness.check(fc.accept(f), true);
harness.check(fc.accept(null), true);
fc.setFileFilter(new MyFileFilter(true));
harness.check(fc.accept(f), true);
fc.setFileFilter(new MyFileFilter(false));