public static void helpTestIsDatabaseObject(
     final JdbcDatabase dbNode, final String path, final boolean expected) {
   final JdbcNode node = dbNode.findJdbcNode(path);
   assertNotNull("Unable to find node with path: " + path, node); // $NON-NLS-1$
   final boolean actual = node.isDatabaseObject();
   assertEquals(expected, actual);
 }
 public static void helpTestPathInSource(
     final JdbcDatabase dbNode, final String path, final String expectedPathInSourceStr) {
   final JdbcNode node = dbNode.findJdbcNode(path);
   assertNotNull("Unable to find node with path: " + path, node); // $NON-NLS-1$
   final IPath pathInSource = node.getPathInSource();
   if (expectedPathInSourceStr == null) {
     assertNull(pathInSource);
   } else {
     final String pathInSourceStr = pathInSource.toString();
     assertEquals(expectedPathInSourceStr, pathInSourceStr);
   }
 }
 public static void helpTestGetParentDatabaseObject(
     final JdbcDatabase dbNode,
     final String path,
     final boolean includeCatalogs,
     final boolean includeSchemas,
     final String pathToParentDbObject) {
   final JdbcNode node = dbNode.findJdbcNode(path);
   assertNotNull("Unable to find node with path: " + path, node); // $NON-NLS-1$
   final JdbcNode expectedParentDbObject =
       pathToParentDbObject != null ? dbNode.findJdbcNode(pathToParentDbObject) : null;
   final JdbcNode actual = node.getParentDatabaseObject(includeCatalogs, includeSchemas);
   assertEquals(expectedParentDbObject, actual);
 }