InspectionResultsUtils { public static Table addTable(InspectionResults results, String catalogName, String schemaName, String tableName) { return addTable(results, catalogName, schemaName, tableName, true); }  static Database addDatabase(InspectionResults results); static Catalog addCatalog(InspectionResults results, String catalogName); static Catalog addCatalog(InspectionResults results, String catalogName, boolean addObject); static Schema addSchema(InspectionResults results, String catalogName, String schemaName); static Schema addSchema(InspectionResults results, String catalogName, String schemaName,
            boolean addObject); static Table addTable(InspectionResults results, String catalogName, String schemaName, String tableName); static Table addTable(InspectionResults results, String catalogName, String schemaName, String tableName,
            boolean addObject);  }
@Test public void testAddTable() { InspectionResults inspectionResults = mock(InspectionResults.class); Table table = addTable(inspectionResults, "catalog", "schema", "table"); verify(inspectionResults).addObject(table); verify(inspectionResults).addObject(table.getSchema()); verify(inspectionResults).addObject(table.getCatalog()); verify(inspectionResults).addObject(table.getDatabase()); }