InspectionResultsUtils { public static Schema addSchema(InspectionResults results, String catalogName, String schemaName) { return addSchema(results, catalogName, schemaName, 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 testAddSchema() { InspectionResults inspectionResults = mock(InspectionResults.class); Schema schema = addSchema(inspectionResults, "catalog", "schema"); verify(inspectionResults).addObject(schema); verify(inspectionResults).addObject(schema.getCatalog()); verify(inspectionResults).addObject(schema.getDatabase()); }