assertEquals("Should be equals", this.attachment.getAttachmentId(), attach.getAttachmentId());
}
@Test
public void testGetAttachmentsListbyProject(){
Attachment attachment2 = createAttachment("DojoReference.pdf", uploadDate, this.project);
assertNotNull(attachment);
assertNotNull(attachment2);
final List<Attachment> attachList = getProjectDaoImp().getAttachmentsListbyProject(this.project.getProyectId());
log.debug("Attach List -->" + attachList.size());
assertEquals("Should be equals", 2, attachList.size());