* {@link com.bolbachchan.blog.dao.posts.UserPostsDAOImpl#saveNewPost(com.bolbachchan.blog.dto.PostDTO)}
* .
*/
@Test
public void testSaveNewPost() {
PostDTO dto = new PostDTO();
UserDetails user = new UserDetails();
user.setObjId(1);
dto.setUserDetails(user);
dto.setPostTitle("Junit");
dto.setPostContent("This is a JUnit test case");
dao.saveNewPost(dto);
}