@Test
public void testGetMatrix() {

   ConfusionMatrix cm = fillCM(VALUES, LABELS, DEFAULT_LABEL);
   Matrix m = cm.getMatrix();
   Map<String, Integer> rowLabels = m.getRowLabelBindings();
   assertEquals(cm.getLabels().size(), m.numCols());
   assertTrue(rowLabels.keySet().contains(LABELS[0]));
   assertTrue(rowLabels.keySet().contains(LABELS[1]));
   assertTrue(rowLabels.keySet().contains(DEFAULT_LABEL));
   assertEquals(2, cm.getCorrect(LABELS[0]));
   assertEquals(20, cm.getCorrect(LABELS[1]));
   assertEquals(0, cm.getCorrect(DEFAULT_LABEL));
}