@Test
public void testGetNameInvalid2() throws Exception {

    document.put("type", "feuwife");
    parser = new SearchDocument(document);
    assertNotNull(parser.getName());
    assertEquals("", parser.getName());
}