assertEquals("Joogle Search: verona", result6.getTitle());
}
@Test
public void parseType() {
final Form result1 = parse(XEP_0004_5_1_SAMPLE_2);
final Form result2 = parse(XEP_0004_5_1_SAMPLE_3);
final Form result3 = parse(XEP_0004_5_1_SAMPLE_4);
final Form result4 = parse(XEP_0004_5_2_SAMPLE_6);
final Form result5 = parse(XEP_0004_5_2_SAMPLE_7);
final Form result6 = parse(XEP_0004_5_2_SAMPLE_8);
final Form result7 = parse(XEP_0154_5_3_SAMPLE_13);
assertEquals(Form.Type.form, result1.getType());
assertEquals(Form.Type.submit, result2.getType());
assertEquals(Form.Type.result, result3.getType());
assertEquals(Form.Type.form, result4.getType());
assertEquals(Form.Type.submit, result5.getType());
assertEquals(Form.Type.result, result6.getType());
assertEquals(Form.Type.result, result7.getType());
}