import org.junit.Test;
public class ForeignKeySamplerTest {
@Test
public void testSample() {
check(1000, getDistribution(0), new ForeignKeySampler(1000, 0));
check(1000, getDistribution(0.5), new ForeignKeySampler(1000, 0.5));
check(1000, getDistribution(1), new ForeignKeySampler(1000, 0.3));
}