### Question:
SignRelatedSamples { public static boolean test(TransposeDataList transposeDataList, boolean is_twoTailed, double aLevel) { if(transposeDataList.size()!=2) { throw new IllegalArgumentException("The collection must contain observations from 2 groups."); } double pvalue=getPvalue(transposeDataList); boolean rejectH0=false; double a=aLevel; if(is_twoTailed) { a=aLevel/2; } if(pvalue<=a || pvalue>=(1-a)) { rejectH0=true; } return rejectH0; }  static double getPvalue(TransposeDataList transposeDataList); static boolean test(TransposeDataList transposeDataList, boolean is_twoTailed, double aLevel);  }### Answer:
@Test public void testTest() { logger.info("test"); TransposeDataList transposeDataList = new TransposeDataList(); transposeDataList.put(0, new FlatDataList(Arrays.asList(new Object[]{136,115,142,140,123,147,133,150,138,147,151,145,147.0}))); transposeDataList.put(1, new FlatDataList(Arrays.asList(new Object[]{141.0,117,141,145,127,146,135,152,135,152,149,148,147}))); boolean is_twoTailed = true; double aLevel = 0.05; boolean expResult = false; boolean result = SignRelatedSamples.test(transposeDataList, is_twoTailed, aLevel); assertEquals(expResult, result); }