InspectionResultsUtils { public static Catalog addCatalog(InspectionResults results, String catalogName) { return addCatalog(results, catalogName, 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 testAddCatalog() { InspectionResults inspectionResults = mock(InspectionResults.class); Catalog catalog = addCatalog(inspectionResults, "catalog"); verify(inspectionResults).addObject(catalog); verify(inspectionResults).addObject(catalog.getDatabase()); }