public class FreeplaneFirstTest extends FreeplaneTestCase {
@Test
public void testFileOpen() throws Exception {
final FreeplaneWindow mainWindow = getFreeMindWindow();
MenuItem openMenu = mainWindow.getMenuBar().getMenu("File").getSubMenu("Open...");
WindowInterceptor
.init(openMenu.triggerClick())
.process(FileChooserHandler.init()
.titleEquals(null)
.assertAcceptsFilesOnly()
.select(openMap))
.run();