}
@Test
public void testAssertRowCount() {
JComboBox box = new JComboBox(new Object[] { o, o, o });
MComboBox component = new MComboBox(box, "box", null, WindowMonitor.getInstance());
ComponentFinder resolver = new DummyResolver(component);
ActionTestCase.assertPasses(
new AssertRowCount(ID, 3, ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), resolver);
ActionTestCase.assertFails(
new AssertRowCount(ID, 4, ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), resolver);