@Test
 public void getFindByTypeTest() {
   if (log.isDebugEnabled()) log.debug("## 2. getFindByTypeTest start");
   documents = service.getFindByType(pdfType);
   assertNotNull(documents);
   assertTrue(documents.size() == 2);
   assertEquals(pdfType.getTypeName(), documents.get(0).getDocType().getTypeName());
   assertEquals(pdfType.getTypeDesc(), documents.get(0).getDocType().getTypeDesc());
   assertEquals(pdfType.getTypeExtension(), documents.get(0).getDocType().getTypeExtension());
 }
 @Test
 public void getTypeFindByIdTest() {
   if (log.isDebugEnabled()) log.debug("## 4. getTypeFindByIdTest start");
   String typeId = "pdfType";
   types = service.getTypeFindById(typeId);
   assertNotNull(types);
   assertTrue(types.size() == 1);
   assertEquals(pdfType.getTypeName(), types.get(0).getTypeName());
   assertEquals(pdfType.getTypeDesc(), types.get(0).getTypeDesc());
   assertEquals(pdfType.getTypeExtension(), types.get(0).getTypeExtension());
 }