org.nexml.model.Character nexCharacter = nexCharacters.get(i);
Assert.assertNotNull("The NeXML Character should not be null if there as an index into it in this set", nexCharacter);
Assert.assertTrue("The Subset should contain the character at index i", nexSubset.containsThing(nexCharacter));
//get the treebase character for the index in this column range
PhyloChar tbCharacter = tbCharacterMatrix.getCharacter(i);
Assert.assertNotNull("The TreeBASE PhyloChar should not be null if there as an index into it in this set", tbCharacter);
Assert.assertEquals("If the TreeBASE character has a label, then the NeXML character's label should match it", tbCharacter.getLabel(), nexCharacter.getLabel());
}
}
else {
System.out.println("NexmlMatrixConverter failed to create a Subset");