Package com.bolbachchan.blog.dto

Examples of com.bolbachchan.blog.dto.PostDTO


     * {@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);
    }
View Full Code Here

TOP

Related Classes of com.bolbachchan.blog.dto.PostDTO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.