assert fixture != null;
return fixture.menuItem(new QueryMatcher<JMenuItem>(JMenuItem.class, this));
}
public FrameFixture findFrame() {
FrameFinder finder = WindowFinder.findFrame(new QueryMatcher<Frame>(Frame.class, this));
if (timeoutInSeconds != null) {
finder = finder.withTimeout(timeoutInSeconds.intValue(), TimeUnit.SECONDS);
}
return finder.using(TestUtils.getRobot());
}