@Test
public void testBooleanProperties() {
field.setEnabled(true);
ActionTestCase.assertPasses(
new AssertPropertyAction(new ComponentId("text.name"), "Enabled", "true", ScriptModelServerPart
.getModelServerPart(), WindowMonitor.getInstance()), resolver);
field.setEnabled(false);
ActionTestCase.assertPasses(new AssertPropertyAction(new ComponentId("text.name"), "Enabled", "false",
ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), resolver);
field.setEditable(true);
ActionTestCase.assertPasses(new AssertPropertyAction(new ComponentId("text.name"), "Editable", "true",
ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), resolver);
field.setEditable(false);
ActionTestCase.assertPasses(new AssertPropertyAction(new ComponentId("text.name"), "Editable", "false",
ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), resolver);
}