@Test
public void testUninitialized() {

    // test without setting an ontology dao
    try {
        String label = LabelUtils.getPrimaryLabel(entity1);
        fail("Checking label with null ontology DAO should throw an error - actually, just returned " + label);
    }
    catch (Exception e) {
        e.printStackTrace();
    }
}