/** @throws java.lang.Exception */ @BeforeClass public static void setUpBeforeClass() throws Exception { if (DBConnection.probeTestConnection()) { log.info("Testing with live connection"); testConnection = DBConnection.getTestConnection(); } else { log.info("Testing with mock connection"); testConnection = DBConnection.getMockConnection(); } }
@BeforeClass public static void setUpBeforeClass() throws Exception { if (DBConnection.probeTestConnection()) { log.info("Testing with live connection"); testConnection = DBConnection.getTestConnection(); } else { log.info("Testing with mock connection"); testConnection = DBConnection.getMockConnection(); } partOfBean = testConnection.getPropertyFromSourceId(partOfIRI); partOfPropertyTerm = new PropertyTerm(partOfBean); }