Package com.sfpay.histran.dao

Source Code of com.sfpay.histran.dao.UserDaoTest

package com.sfpay.histran.dao;

import javax.annotation.Resource;

import org.junit.Test;

import com.sfpay.framework.web.test.SpringTestCase;
import com.sfpay.histran.domain.User;

public class UserDaoTest extends SpringTestCase {
  @Resource
  private IUserDao userDao;

  @Test
  public void testUserDao() {
    User user = new User();
    user.setUsername("11");
    user.setPassword("22");
    if (logger.isDebugEnabled()) {
      logger.debug(userDao.login(user).toString());
    }
  }
}
TOP

Related Classes of com.sfpay.histran.dao.UserDaoTest

TOP
Copyright © 2018 www.massapi.com. 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.