@Test
public void getProjectBlogEntryDTOTest() {

    // Creating an instance of IProjectBlogEntry which is passes as an
    // argument to the getProjectBlogEntryDTO method
    IProjectBlogEntry projectBlogEntry = new ProjectBlogEntry();
    projectBlogEntry.setProjectBlogEntryId(ID);
    projectBlogEntry.setTitle(TITLE);
    projectBlogEntry.setDescription(DESCRIPTION);
    projectBlogEntry.setCreatedDate(CREATED_DATE);
    projectBlogEntry.setProjectId(PROJECT_ID);
    IUser author = new User();
    author.setUserName(AUTHOR_NAME);
    projectBlogEntry.setAuthor(author);
    // Calling getProjectBlogEntryDTO method with dummy IProjectBlogEntry
    // instance
    ProjectBlogEntryDTOMapper projectBlogEntryDTOMapperUnderTest = getProjectBlogEntryDTOMapper();
    ProjectBlogEntryDTO projectBlogEntryDTO = projectBlogEntryDTOMapperUnderTest
            .getProjectBlogEntryDTO(projectBlogEntry);
    assertProjectBlogEntryDTOMapping(projectBlogEntryDTO);
}