@Test
public void testCheckingColor() {
JTextField field = new JTextField();
field.setBackground(Color.red);
MComponent component = new MComponentMock(field, "foo");
AssertAction tag = new AssertAction(new ComponentId("foo"), Color.red, ScriptModelServerPart.getModelServerPart(),
WindowMonitor.getInstance());
tag.play(((MComponentMock) component).getDummyResolver());
tag = new AssertAction(new ComponentId("foo"), Color.white, ScriptModelServerPart.getModelServerPart(),
WindowMonitor.getInstance());