### Question:
StrandBiasTableUtils { public static List<Integer> getContingencyArray( final int[][] table ) { if(table.length != ARRAY_DIM || table[0].length != ARRAY_DIM) { logger.warn("Expecting a " + ARRAY_DIM + "x" + ARRAY_DIM + " strand bias table."); return null; } final List<Integer> list = new ArrayList<>(ARRAY_SIZE); list.add(table[0][0]); list.add(table[0][1]); list.add(table[1][0]); list.add(table[1][1]); return list; }  static Double FisherExactPValueForContingencyTable(int[][] originalTable); static List<Integer> getContingencyArray( final int[][] table ); static void printTable(final String name, final int[][] table); static int [][] copyContingencyTable(int [][] t);  }### Answer:
@Test public void testGetContingencyArray() throws Exception { final int[][] t = new int[2][2]; t[0][0] = 1; t[0][1] = 2; t[1][0] = 3; t[1][1] = 4; final List<Integer> tList = StrandBiasTableUtils.getContingencyArray(t); final List<Integer> truthList = new ArrayList<Integer>(); truthList.add(1); truthList.add(2); truthList.add(3); truthList.add(4); Assert.assertEquals(tList, truthList); }