Package in.partake.model.dao.access

Source Code of in.partake.model.dao.access.UserAccessTest

package in.partake.model.dao.access;

import in.partake.app.PartakeApp;
import in.partake.model.dao.access.IUserAccess;
import in.partake.model.dto.User;
import in.partake.model.fixture.impl.UserTestDataProvider;

import org.junit.Before;

public class UserAccessTest extends AbstractDaoTestCaseBase<IUserAccess, User, String> {

    @Before
    public void setup() throws Exception {
        super.setup(PartakeApp.getDBService().getDAOs().getUserAccess());
    }

    @Override
    protected User create(long pkNumber, String pkSalt, int objNumber) {
        return new UserTestDataProvider().create(pkNumber, pkSalt, objNumber);
    }
}
TOP

Related Classes of in.partake.model.dao.access.UserAccessTest

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.