@Test
public void testProcessSimpleHtmlAttribute() throws Exception {

    expect(parser.parse(eq("header"), isA(WriteAttributeStatement.class), same(TypesFactory.OBJECT_TYPE))).andReturn(
            parsedExpression);
    parsedExpression.setParent(isA(WriteAttributeStatement.class));
    expectLastCall();
    processAttributes("div", "id", "header");
    assertEquals(1, statement.getStatements().size());
    assertThat(statement.getStatements().get(0), instanceOf(WriteAttributeStatement.class));
}