* Example 8 and 9 of XEP-0055
*/
public void testSearchUsingForms() {
final Form form = new Form(Form.Type.submit);
form.addField(new Field(FieldType.HIDDEN).Var("FORM_TYPE").Value("jabber:iq:search"));
form.addField(new Field().Var("x-gender").Value("male"));
final ResultListener<Form> result = Mockito.mock(ResultListener.class);
manager.search(form, result);
session.verifyIQSent("<iq type='set' from='romeo@montague.net/home' to='search.service' xml:lang='en'>"
+ "<query xmlns='jabber:iq:search'><x xmlns='jabber:x:data' type='submit'>"