@Test
public void testStringCompareInHTMLContext() throws Exception {
MComponentMock mock = new MComponentMock(htmlEditor, "htmlSong");
ComponentFinder resolver = mock.getResolver();
ActionTestCase.assertPasses(new AssertText(null, getHTML(S1, false), ScriptModelServerPart.getModelServerPart(),
WindowMonitor.getInstance()), resolver);
ActionTestCase.assertPasses(new AssertText(null, getHTML(S1, true), ScriptModelServerPart.getModelServerPart(),
WindowMonitor.getInstance()), resolver);
ActionTestCase.assertFails(new AssertText(null, getHTML(S2, true), ScriptModelServerPart.getModelServerPart(),
WindowMonitor.getInstance()), resolver);
}