* @param harness the test harness (<code>null</code> not permitted).
*/
public void test(TestHarness harness)
{
JFileChooser fc = new JFileChooser();
MetalFileChooserUI ui = new MetalFileChooserUI(fc);
harness.check(ui.getFileName(), null);
ui.installUI(fc);
harness.check(ui.getFileName(), "");
ui.setFileName("XYZ");
harness.check(ui.getFileName(), "XYZ");
fc.setCurrentDirectory(new File("ABC"));
harness.check(ui.getFileName(), "XYZ");
}