@Test
public void testGetTypeInvalid() throws Exception {

    document.remove("type");
    parser = new SearchDocument(document);
    assertNotNull(parser.getType());
    assertEquals("", parser.getType());
}