package com.atlassian.crowd.dao;

import com.atlassian.crowd.search.builder.Restriction;
import com.atlassian.crowd.search.query.entity.restriction.PropertyImpl;
import com.atlassian.stash.internal.AbstractDaoTest;
import org.springframework.test.context.ContextConfiguration;

@ContextConfiguration(locations = "classpath:/spring/crowd-context.xml")
public abstract class AbstractCrowdDaoTest extends AbstractDaoTest {

    protected static final int DEFAULT_DIR_ID = 1000;
    protected static final Restriction.RestrictionWithProperty<Boolean> IS_ACTIVE =
            Restriction.on(new PropertyImpl<>("active", Boolean.class));
}
