// login check
Member member = TestObject.getTestMember();
// �۾��� 10��, code 2
long pointBefore = pointDao.getPoint(member.getSid());
ArticleDao articleDao = new ArticleDao();
Article article = new Article();
Connection conn = new DbCon().getConnection();
int seq = articleDao.getSeq(conn);
article.setSeq(seq);
article.setBbs("perf");
article.setSubject("subject");
article.setId(member.getId());
article.setSid(member.getSid());
article.setContent("content");
article.setWriter(member.getId());
int result = articleDao.write(conn , article);
assertTrue(1 < result);
long pointAfter = pointDao.getPoint(member.getSid());
assertEquals(10, pointAfter - pointBefore);
}