@Test(dataProvider = "UsingTable")
public void testPValueForContingencyTable(final int refpos, final int refneg, final int altpos, final int altneg, double expectedPvalue) throws Exception {

    final int[][] contingencyTable = new int[2][2];
    contingencyTable[0][0] = refpos;
    contingencyTable[0][1] = refneg;
    contingencyTable[1][0] = altpos;
    contingencyTable[1][1] = altneg;
    final double pvalue = StrandBiasTableUtils.FisherExactPValueForContingencyTable(contingencyTable);
    Assert.assertEquals(pvalue, expectedPvalue, DELTA_PRECISION, "Pvalues");
}